Text this: Analytical solutions of generalized differential equations using quadratic-phase Fourier transform