Answer is x= 20, y=100
Step by step
First we know the Exterior Angle Theorem Formula says the sum of the exterior angle = the sum of two non-adjacent interior opposite angles. So
Exterior angle = 7x - 40
Two interior angles = 3x and 2x
Solve
7x - 40 = 3x + 2x
Simplify
7x - 40 = 5x
Subtract 7x from both sides to combine x
7x - 7x -40 = 5x - 7x
Simplify
-40 = -2x
Divide both sides by -2 to solve for x
-40/-2 = -2 /-2 x
20 = x
Now we can solve for y, since y is a vertical angle to the exterior angle they are congruent or the same
7x - 40 = y
Substitute value of x
7 (20) - 40 = y
Multiply
140 - 40 = y
Subtract
100 = y