Set up the equation by writing the number of students in the ratio as a fraction:
3/4= (245-x)/x Cross multiply:
3x= 4(245-x) Multiply on right:
3x= 980-4x Add 4x on both sides:
7x= 980 Divide both sides by 7:
x= 140 this is how many girls there are. And:
245-140= 105= boys