Representations of Epitrochoids and Hypotrochoids