Answer:
the value of g is -4
Step-by-step explanation:

Our aim is to solve for g
multiply 10 inside the parenthesis

Now combine like terms
Subtract 5g from both sides


Divide both sides by -1

For a:
you have your opposite side
you need your hypotenuse
you should use the s.o.h