The polynomials (2x3+x2−ax+2) and (2x3−3x2−3x+a) when divided by (x -2) leave the same remainder. Find the value of a.
If x3+px2+qx+6 has x−2 as a factor and leaves remainder 3 when divided by x−3 find the value of p and q