Part 1

Take your trial equation, and differentiate with respect to t twice, yielding . Plug these into your differential equation and solve for f (you should get two values). With two possibilities for f, the general solution is

To write in the sin + cos form, use the Euler identity:

For the last one use the trig identity: