Can u explain to me how to do this :)

Answer:
x = 35 y = 82
Step-by-step explanation:
all triangles add up to 180
the tick mark shows that 2x = y - 12
2x + 2x + 40 = 180
4x + 40 = 180
4x = 140
x = 35
y - 12 + y - 12 + 40 = 180
2y - 24 + 40 = 180
2y + 16 = 180
2y = 164
y = 82
Check:
40 + 2(35) + (82 - 12) = 180