Actually since P and Q both lie on the tangent as well as the ellipse, they should satisfy both the line equation and the ellipse equation.

So substitute in the ellipse equation and expand to get the quadratic . The solutions for this must be the points P and Q and thus and are the roots