there is a parallelogram formed by the parallel lines
we can get one of the angle of parallelogrmam by linear pair. let the parallelogram be ABCD. then that angle
DAB = 180 - x
in a parallelogram opposite sides are equal so angle BCD = 180-x
angle y = 180- x [ vertiacally opposite ]