∠A and \angle B∠B are vertical angles. If m\angle A=(2x+20)^{\circ}∠A=(2x+20)

and m\angle B=(3x+1)^{\circ}∠B=(3x+1)

, then find the value of x.