Basically I have proved that the parametric for epicycloid is $$x=(a+b)\cos t-b\cos (\frac{a+b}{b}t)$$ and $$y=(a+b)\sin t-b\sin (\frac{a+b}{b}t)$$ So, if $b=a$ this leads to $$x=2a\cos t-a\cos 2t$$ and $$y=2a\sin t-a\sin 2t$$ where a is the radius of bigger circle and b is the radius of smaller circle.
I need to prove that that the new $x$ and $y$ gives cardioid $r=2a(1-\cos \theta)$. The hint in the book says that I need to eliminate the parameter, which I think in this case is $t$. After eliminating the paratemer, I then need to prove that $x=r\cos \theta + a$ and $y=r\sin \theta$. Then show $r=2a(1-\cos \theta)$. So, I guess I need to convert to polar coordinate.
I am not sure how to eliminate the parameter here. Basically what I have done so far is using the identity $\sin 2t = 2\sin t \cos t$. So I get, \begin{align}y&=2a\sin t-a\sin 2t\\ &=2a\sin t-a(2\sin t \cos t)\\ &=2a\sin t-2a\sin t \cos t\\ y&=2a\sin t(1-\cos t). \end{align} I don't know how to isolate the $t$. In fact, I don't really know if this is even a correct approach. So, any help appreciated.