Notice that there are two triangles between the parallel lines.
Also, notice that the angle 160° and y are same-side interior angles, so they sum 180°.
We solve for y.
On the other hand, angles 30 and x are alternate interior angles, which means they are congruent.
Therefore, x = 30° and y = 20°.