i need to find x in #9 and w in #10

Step-by-step explanation:
9. 131+106+67+x=360
237+67+x=360
304+x=360
x=56
10. 90+90+146+w=360
180+146+w=360
326+w=360
w=34