Solve for x x/2-3(x-1)=5x-7