> restart;

> x:=5*cos(t)-cos(2*t);

[Maple Math]

> y:=3*sin(t)-sin(2*t);

[Maple Math]

> p:=plot([x,y,t=0..2*Pi],color=red,scaling=constrained,axes=none):

> x1:=diff(x,t);

[Maple Math]

> y1:=diff(y,t);

[Maple Math]

> x2:=diff(x1,t);

[Maple Math]

> y2:=diff(y1,t);

[Maple Math]

> f:=(x1^2+y1^2)/(x1*y2-y1*x2);

[Maple Math]
[Maple Math]
[Maple Math]

> xc:=x-f*y1;

[Maple Math]
[Maple Math]
[Maple Math]
[Maple Math]

> yc:=y+f*x1;

[Maple Math]
[Maple Math]
[Maple Math]
[Maple Math]

> r:=(x1^2+y1^2)^(3/2)/abs(x1*y2-y1*x2):

> with(plots):

> b:=animate([xc+r*cos(s),yc+r*sin(s),s=0..2*Pi],t=0..2*Pi,color=blue,scaling=constrained,axes=none,frames=50):

> c:=animate([(1-s)*xc+s*x,(1-s)*yc+s*y,s=0..1],t=0..2*Pi,color=brown,scaling=constrained,axes=none,frames=50):

> display(p,b,c);

[Maple Plot]