1. If your equation is satisfied by r, m and b the line in question is a tangent (in Germany this equation is called "condition for the existance of a tangent to a circle")
2. The tangent point is
3. Consequently you'll get a system of equations:
4. Solve this system for b and m and plug in these values into the equation of a straight line.
Spoiler: