A Variable-Rate Solution to the Nonlinear Diffusivity Gas Equation by Use of Green's-Function Method