If the polynomial f (×)=ax^2+13×+b and g (×)=4×^2+px+a are divided by x-1 the remainder are 12 and 6 respectively.If they are divided by ×-2 the remainder are 40 and 20 respectively.find the values of the constants a,b,p and a.hence determine the values of x for which f (×)=g (×)