Tangent Polygon Extensions Draw something that looks like this:



In more precise terms, draw a circle of radius r, with n evenly-spaces tangent lines of length l. Connect the ends of these lines to form a new n-sided regular polygon.

Rules

r = circle radius
n = number of tangent lines - must be evenly spaced around circle (n>=3)
l = side length of tangent lines

Create a program that accepts the arguments { r, n, l } and draws the required output.

Units are in pixels.

There is no restrictions to the location of the drawing, as long as all of it is visible.

The picture is pretty self-explanatory.

This is code-golf, so shortest code in bytes wins!
Python, 133 bytes
The only answer so far to comply with the &quot;Units are in pixels&quot; rule...
from turtle import*
c=circle
r,n,l=input()
lt(90)
exec'c(r,360/n);fd(l);bk(l);'*n
fd(l)
lt(towards(-r,0)-180)
c(distance(-r,0),360,n)

Add exitonclick() to the end if you don't want the window to close immediately.
Output:
python tangentpoly.py &lt;&lt;&lt; &quot;20, 6, 30&quot;:

python tangentpoly.py &lt;&lt;&lt; &quot;100, 8, 200&quot;: