Question 1009031
We have 
g + b = 25  and
g = 2b - 5
Substitute this into the first equations and get
2b - 5 + b = 25
3b - 5 = 25
3b = 30
b = 10 boys
g = 15 girls