44=5g-8-g

Have you thought of rewriting 5g -g as 4 g?

Try also adding 8 to each side, to get all the numbers on one side of the equation.

That will leave you with
4g = 52

It should be obvious what g is.