since the equations are both on one side, the sum of the equations will be 180.
5x-17+2x+50=180 add the like variables. 7x+33=180 subtract 33 from 180. 7x=147 divide 147 by 7. x=21 *to check your answer sub in 21 where the x is and the two answers together and you should get 180* hope this helps!!