If x3+mx2+nx+6 has (x−2) as factor and leaves a remainder 3 when divided by (x−3) find the values of m,n