Answer:
x=12
y=9
Step-by-step explanation:
Since the two triangles are equal, the hypotenuse of each are equal as well, meaning 2x is equal to x+12. 2 times 12 equals 24, and 12+12 also equals 24.
the shorter sides are also equal to each other, so (y+5) equals (2y-4). 9+5 equals 14, and 2 times 9 minus 4 also equals 14.