Simplify x/2-3x+4(x+1)