Find the value of each variable.

Answer:
x=17
Step-by-step explanation:
their interior angles so they equal each other
40=2x+6
34=2x
x= 17