what are the values of x and y in the figure shown? show your work

Answer:
x = 5 , y = 2
Step-by-step explanation:
3y + 4y + 2x = 24
(3y)² + (4y)² = (2x)²
2x + 7y = 24 .............. (1)
25y² = 4x² ................ (2)
x = [tex]\frac{5}{2}[/tex] y ------> (1)
2 ( [tex]\frac{5}{2}[/tex] y ) + 7y = 24
12y = 24
y = 2 ----------> (1)
x = 5