Answer:
1060
Explanation:
Given:
No. of boys = 870
No. of girls = 800
Probability that a boy chosen studies Spanish =

Probability that a girl chosen studies Spanish =

the number of boys in the school who study Spanish :

the number of girls in the school who study Spanish :

Therefore, total number of students who study Spanish would be :
480+580=1060