From the image, we have:
I) 2x + 12 + y = 180
II) 3x + 23 = y
First, we put all the variables from each equation on the same side:
I) 2x + y = 168
II) 3x - y = -23
Adding equation I to equation II we got:
5x = 145
x = 29
Applying this result on equation I, we got:
2*29 + y = 168
y = 168 - 2*29 = 110