for same reason why you put y=80
Two intersecting lines form a pair of vertical angles. The vertical angles are opposite angles with a common vertex (which is the point of intersection).
vertical angles are equal, that is why measure of angle x is equal to measure of angle z