Since α and β are the roots of equation x2−px+r=0, we get α+β=p(1) αβ=r(2)
Also, since α/2 and 2β are the roots of equation x2−qx+r=0, we get 2α+2β=q ⇒α+4β=2q(3) αβ=r
Solving Eqs. (1) and (3), we get α=32(2p−q) and β=32q−p
Substituting α and β in Eq. (3), we get r=92(2p−q)(2q−p)