pls help me rnnn and dont u dare to put links

Answer:
[tex]g=4, h=2[/tex]
Step-by-step explanation:
First, put them together. 6g+-6 gets rid of g to leave the rest: 10h=20
Then, just divide 10h by 10 to get h alone. h=2
Plug it in 6g+8h=40
6g+16=40
-16 -16
6g=24
g=4
So the answer is g=4, h=2
Have a great day! :))