Answer:
0.5798 or 57.98%
Explanation:
The total number of ways to form the two teams is the combination of choosing 10 people out of 35 (₃₅C₁₀). The number of possibilities that A and B are both on the 10-people team is given by the combination of choosing 8 people (since two are fixed) out of 33 (₃₃C₈).The number of possibilities that A and B are both on the 25-people team is given by the combination of choosing 10 people out of 33 (₃₃C₈).
Therefore, the probability that two particular people A and B will be on the same team is:

The probability is 0.5798 or 57.98%.