The sum of the three interior (inside) angles of a triangle sums up to 180°. This is stated by the Triangle Sum Theorem.
2(3x+4y) = 2(24)
6x+8y = 48
Add both the equations
6x + 8y = 48
+ x - 8y = -20
—————————
7x = 28
x = 28/7
x = 4
Plug in this value in the second equation
(4) - 8y = -20
-8y = -24
y = -24/-8
y = 3
Therefore:
x = 4
y = 3
Yes that is correct congrats you’ve played yourself