The angle A is equal to B because they are opposite angles by the vertex.
So...
5x - 15 = 2x + 21
For solve it, we are going to do the same operations in both sides of the equal sign. We need put all the X in a side of the equal sign and all the free numbers in the other side.