A linear pair of angles when added together need to equal 180 degrees.
Add the two equations together to equal 180 and solve for n:
2n+22 + 4n+38 = 180
Simplify by combining like terms:
6n + 60 = 180
Subtract 60 from both sides:
6n = 120
Divide both sides by 6:
n = 120/6
n = 20
Now you have a value for n, replace n in each equation and solve:
EFG = 2n +22
= 2(20) +22
= 40 + 22
EFG = 62 degrees.
GFH = 4n+38
=4(20) +38
= 80 +38
GFH = 118 degrees.