In the figure given that g is parallel to n.
It is clear from the figure that the angles y and 71 are consecutive interior angles. The sum of consecutive interior angles is 180 degrees. So,

It is also clear from the figure that angle y and angle 4z + 17 are vertically opposite angles. The vertically opposite angles are equal.

Thus, y = 109 and z = 23.