Let $PP'$ and $QQ'$ be two parallel lines tangent to a circle of center $C$ and radius $r$ in the points $P$ and $Q$, respectively. $P'Q'$ cuts de circle in $M$ and $N$. Let $Y$ and $X$ be the points in which $Q'Q$ is cut by $PN$ and $PM$, respectively. Given the lengths $PP'= p$, $QQ'= q$ and $2r = d$, find the lengths $QY = y$ and $QX = x$.
I've been struggling with this problem for a couple of days, so a hint or a solution would be welcome.
Now, what makes this problem beautiful is the fact that if you let $p=-\dfrac{2a}b$ and $q =-\dfrac{c}{2b}$ then the lengths $y$ and $x$ will be the real roots of the equation $ax^2 + 2bx + c = 0$.

