Answer:
x = 13
y = 24
Explanation:
According to the Consecutive Interior Angles Theorem, when a straight line intersects two parallel straight lines, the resulting consecutive interior angles formed are supplementary (sum to 180°).
Therefore, as line l and line m are parallel, the angle marked (7x - 31)°, and the sum of the angles marked 63° and (5x - 8)°, are supplementary:

Solve the equation for x:






The exterior angle of a triangle is equal to the sum of the two non-adjacent interior angles of the triangle. Therefore:

Substitute the found value of x into the equation and solve for y:









Therefore, the values of x and y are: