In the figure, lines m and n are parallel to each other. Lines p and q are also parallel to each other. What is the value of x?