what is the value of x?

Answer:
x=10
Step-by-step explanation:
Well, lets see. 5x+9x+40 is 180 degrees. So 14x+40=180. 14x=140. So x=10