The two angles form a straight line which is equal to 180 degrees. This makes the angles supplemtary.
To find x, add the two angles together to equal 180:
7x + x+20 = 180
Combine like terms:
8x + 20 = 180
Subtract 20 from both sides:
8x = 160
Divide both sides by 8:
X = 20