There are 5 more girls than boys in a class. If 2 boys join the class, the ratio of girls to boys will be 5:4. Find the number of girls in the class.

b = g-5

g/(b+2) = 5/4
so, combining, we have
g/(g-3) = 5/4
Now just find g