Research on a Class of First-Order Nonlinear Nonhomogeneous Variable Coefficient Ordinary Differential Equations Based on Elastic Transformation