In the diagram, two lines intersect and form angles with measures m∠1=(3x+10)∘ and m∠2=(5x−30)∘. If angles 1 and 2 are vertical angles, what is the value of x?
20
10
5
25