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
pm2 = q2 l
p2 l = q2 m
p2m = l2 q
p2 m = q2 l
Let the ratio of roots be λ:1, then (λ+1)2λ = p2q = l2m