Solve for x 3x-17+x+40+2x-5=180