This is astroid, not cycloid that you are quoting. You can find all that you need in Wiki and elswhere, it's a well known curve.
Astroid is the locus of a point on a circle as it rolls inside a fixed circle with four times the radius.
Cycloid is the curve traced by a point on a circle as it rolls along a straight line.