If the polynomial f(x) = ax³ + 13x + b and g(x) = 4x² + px + q are divided by x - 1 the remainders are 12 and 6 respec-tively. If they are divided by x- 2 the remainders are 40 and 20 respectively. Find the values of the constants a, b, p and q and hence determine the values of x for which f (x) = g(x).​