There are 870 boys and 800 girls in a school

The probability that a boy chosen at random studies Spanish is 2 thirds the probability that a girl chosen at random studies Spanish is three fifths. Work out the number of students in the school who study Spanish