Solving Second Order Equation