Harmonic oscillator equation solved without guessing the solution

From the Newton's second law of motion harmonic oscillator equation is obtained which is solved without guessing the solution´╗┐
www.avidsynergy.com/pdf/harmonic_oscillator.pdf