The probability that the first student likes to play soccer:[tex]P(A)=\dfrac{10}{25}=\dfrac{2}{5}[/tex]
The probability that the second student likes to play baseball:[tex]P(B)=\dfrac{15}{24}=\dfrac{5}{8}[/tex]
Together:
[tex]P(A)\cdot P(B)=\dfrac{2}{5}\cdot\dfrac{5}{8}=\dfrac{1}{4}[/tex]