We have the isosceles triangle were y + 12 = 3x - 5,
and the equilateral triangle. Therefore 3x - 5 = 5y - 4.
From the first equation and the second equation we have:
y + 12 = 5y - 4 subtract 12 from both sides
y = 5y - 16 subtract 5y from both sides
-4y = -16 divide both sides by (-4)
y = 4
Substitute the value of y to the first equation:
4 + 12 = 3x - 5
16 = 3x - 5 add 5 to both sides
21 = 3x divide both sides by 3
x = 7
Answer: x = 7 and y = 4