4x and 52 have to be equal because they are opposites on the same line. So because of this we can make a simple equation to find x.
4x = 52
divide both sides by 4 and you have x
x = 13
to find y on the other equation, since we know two of the angles, we can add up all three angles and make them equal to 180 (the sum of all angles on a triangle)
90 + 52 + (3y +2) = 180
first subtract 90 and 52 from both sides to leave the equation alone