∠A and \angle B∠B are vertical angles. If m\angle A=(5x-5)^{\circ}∠A=(5x−5)

and m\angle B=(2x+19)^{\circ}∠B=(2x+19)

, then find the value of x.