If $a (p+q)^2+2apq+c=0 $ and $a (p+r)^2+2apr+c=0 $ then find $ q.r $ in terms of $ p, a, c$
My try: I tried to equate both equations and got the relations that either $ a=0, q=r, q+r+4p=0 $
Then I tried to square $q+r+4p=0 $ and got $ q.r=16\frac {p^2}{q^2+r^2}$ but I was unable to get value of $q^2+r^2$ in terms of $a , c $
Any move further towards answer will be useful, also I would like to know how did you think in order to get the solution