Question 830192
let b = original number of boys
let g = original number of girls
:
 Of a group of boys and girls at Central Middle School's after-school party, 15 girls left early to play in a volleyball game.
 The ratio of boys to girls then remaining was 2 to 1.
{{{b/((g-15))}}} = {{{2/1}}}
Cross multiply
b = 2(g-15)
b = 2g - 30
:
Later, 45 boys left for a football game. The ratio of girls to boys was then 5 to 1.
{{{((g-15))/((b-45))}}} = {{{5/1}}}
cross multiply
g - 15 = 5(b-45)
g - 15 = 5b - 225
g = 5b - 225 + 15
g = 5b - 210
Replace b with (2g-30)
g = 5(2g-30) - 210
g = 10g - 150 - 210
g = 10g - 360
360 = 10g - g
360 = 9g
g = 360/9
g = 40 girls originally
find b
b = 2(40) - 30
b = 50 boys originally
" How many students attended the party?"
40 + 50 = 90 students