Text this: Solitary Wave Solutions and Periodic Wave Solutions of the K(m,n) Equation with t-Dependent Coefficients