Answer:
x=109
Step-by-step explanation:
x+40+31=180
109
The sum of the angles of a triangle add to 180 degrees
40 + 31+x = 180
71+x = 180
x = 180-71
x= 109