If $x = 6 \cos^3 \theta$ and $y = 6 \sin^3 \theta$, find the total length of the curve swept out by the point $(x,y)$ as $\theta$ ranges from $0$ to $2\pi.$