Text this: Existence and Uniqueness of Periodic and Solitary Waves for a Perturbed Generalized KdV Equation