In the figure, parallel lines q and t are intersected by lines r and s. If a=3x−10 and b=5x+20, and w=40, what is the value of x?
15
25
35
45