Solve for x -5x+40=6x-70