If the ratio of the roots of the equation x2+px+q=0 be equal to the ratio of the roots of x2+lx+m=0. Then
p2 m = q2 l
pm2 = q2 l
p2 l = q2 m
p2 m = l2 q
Let the ratio of roots be λ:1, then (λ+1)2λ = p2q = l2m