Let r1 and r2 be the remainders when the polynomials
p(x)= x3+x2-5kx-7 and q(x)=x3+kx2-12x+6
are divided by x+1 and x-2 respectively.
Find the value of k if 2r1-r2=10