There are 1260 students in the primary school. The number of boys is four fifths of the number of girls. How many boys are there in the school

There are 1260 students in the primary school. The number of boys is four fifths of the number of girls. How many boys are there in the school

Set the number of girls as X
x+4/5x=1260
9/5x=1260
x=1260÷9/5
x=1260*5/9
X = 700 male: 700 * 4 / 5 = 560 (person)
A: there are 560 boys in the school