Need help with this problem

Since angleEFG and angleGFH are a linear pair, their sum is 180 degrees.
2n+23+5n+24=180
7n+47=180
7n=133
n=19
Substituting n into the equations of the two angles will give:
angleEFG=2n+23
=2(19)+23
=61
angleGFH=5n+24
=5(19)+24
=119
Therefore, angleEFG is 61 degrees and angleGFH is 119 degrees.