g - 3/7 = 2/7 is an equation.

It is 11 33/40. 11 being the whole number and 33/40 the fraction
The cost of a single shot is
.78 +.52 +.96 = 2.26
they charge 25 a shot
25 - 2.26 = 22.74
there is a profit of 22.74 per shot
22.74 * 167 =3797.58
They make $3797.58
She can expect 522 people to take the advanced course.