When P(z) is divided by z^3 - 3z + 2 the remainder is 4z - 7.
find the remainder when
i. p(x) is divided by x-1
ii. p(x) is divided by x-2