I think that concludes this exercise. What you should really try to remember is how you can always convert ## A \sin \omega t + B \cos \omega t ## into ## C \sin (\omega t + \alpha) ##. In many cases, you can directly solve ##x'' + \omega^2x = 0 ## as ## C \sin (\omega t + \alpha) ## and determine ## C ## and ## \alpha ## from initial conditions. Also, the relationship between ## A ##, ## B ## and ## C ## is also a useful one (as you have surely noticed).