Someone put the same question earlier and I answered, I will answer again
So to find x ,
5x+2=12 as they are equivalent on the triangles
Minus 2 from both sides
5x = 10
Divide by 5 from both sides
X = 2
5y+6 = 111
Minus 6 from both sides
5y = 105
Divide by 5 from both sides
Y = 21