>>593
AB^2=(a-b)^2{1+(a+b)^2}=16
(q-p^2)(1+4p^2)=4
q=p^2+4/(1+4p^2)