How do you use polynomial synthetic division to divide (2x^3-3x+1)div(x-1/2) and write the polynomial in the form p(x)=d(x)q(x)+r(x)?