I’m trying to follow this proof: proof
Specifically this part:
The parameters $t_1,t_2$ of possible common points of line $g: \vec x=\vec p+t\vec v$ (through $P$) and circle $c$ can be determined by inserting the parametric equation into the circle's equation: :$(\vec p+t\vec v)^2-r^2=0 \quad \rightarrow \quad t^2+2t\;\vec p\cdot\vec v +\vec p^2-r^2=0 \ .$
Can anyone explain this further? I don’t understand why the parametric equation of a line is being substituted into the equation for a circle.
I already asked a question to clarify the first part: question to clarify circle part