The two roots of the quadratic equation (*) in are and , where are the gradients of the tangents through P (because is the gradient of the line ). Therefore (formula for product of roots of quadratic: constant term divided by coefficient of ). But you already know that . Put those two expressions for together to see that , from which . Finally, replace by to get the locus of P.