Solving Second Order Non Homogeneous Differential Equations