Answer:
x=18
Step-by-step explanation:
Triangles add up to 180°, so 140+22+x=180 and then you simplify which is 162+x=180, then you subtract 162 on both side, getting x=18