Curve between two points and a tangent curve

Hi
I’m trying to achieve the following. Given ANY two points, draw a curve that starts/ends on those points, and that is tangent to a defined circle.
Here’s the example: on Rhino, but I can’t figure it out on Grasshopper.

Thanks in advance!

Try this

Nice, that’s exactly what I need. Thanks a lot!