If α,β are the roots of x2+bx+c=0 and α+h,β+h are the roots of x2+qx+r=0 then, h
b+q
b−q
b+q2
b−q2
From the given equations, we obtain
α+β=−b and (α+h)+(β+h)=−q
⇒ α+β=−b and α+β+2h=−q
⇒ −b+2h=−q⇒h=b−q2