Solutions of some classes of second order non-linear ordinary differential equations