To find the fraction of the students in the class that like either basketball and soccer, we have to sum
[tex]\frac{1}{4}+\frac{1}{10}[/tex]We use the following property
[tex]\frac{a}{b}+\frac{c}{d}=\frac{a\cdot d+b\cdot c}{b\cdot d}[/tex]Let's do it
[tex]\frac{1}{4}+\frac{1}{10}=\frac{1\cdot10+4\cdot1}{4\cdot10}=\frac{10+4}{40}=\frac{14}{40}=\frac{7}{20}[/tex]The complement of this fraction represents the students that like basketball AND soccer.
Hence, the answer is
[tex]\frac{13}{20}[/tex]