If the ratio of the roots of the equation x2+bx+c=0 is the same as that of the ratio of the roots of x2+qx+r=0, then
br2=qc2
cq2=rb2
q2c2=b2r2
bq=rc
Let α,β be the roots of the equation x2+bx+c=0 and λ,δ be the roots of the equation x2+qx+r=0.
We are given
αβ=γδ⇒α−βα+β=γ−δγ+δ
⇒ α−βα+β2=γ−δγ+δ2⇒ (α+β)2−4αβ(α+β)2=(γ+δ)2−4γδ(γ+δ)2⇒ αβ(α+β)2=γδ(γ+δ)2⇒ c(−b)2=r(−q)2⇒cq2=rb2