I have to find the equation of the circle which passes through the points $A(-2,2)$ and $B(5,-5)$ and has the line $3x-4y=35$ as a tangent at the point $B(5,-5)$.
I tried forming the tangent in a third equation using $(-g,-f)$. With the two points on the circle I used them to form an equation in the form $x^2+y^2+2gx+2fy+c$. I don't know how to go further.
Hint. Find the equation of every circles passing through $A$ and $B$. Then find the one whose intersection with the line yields only one solution. Since this is a second degree equation, the discriminant needs to be 0.