Answer:
x= 27
Step-by-step explanation:
(3x-17)+(x+40)+(2x-5)=180
3x-17+x+40+2x-5=180
6x+18(-18)=180(-18)
6x/6=180/6
x=27