PLS HELP DUE IN 10 MIN WITH BOTH IF POSSIBLE

Answer:
Step-by-step explanation:
(12x + 19) + (22x - 9) = 180
34x + 10 = 180
34x = 170
x = 5