We consider difficult problems in solving nonlinear ordinary differential equations with variable coefficients. We use elastic transformation methods (elastic upgrading transformation and elastic reduced transformation) to transform the first and third order equations into the associated Chebyshev equation. Then, according to the general solution of the associated Chebyshev equation, we obtain the general solutions of the first-order and third-order nonlinear ordinary differential equations with variable coefficients, giving curves of general solution. The elastic transformation method provides a new idea and expands the solvable classes for solving nonlinear ordinary differential equation with variable coefficients.