OK, I'll just go through the algorithm. You look up why it works later.
Firstly, you solve the homogeneous equation. In this case, you get two fundamental solutions, u1=cos x and u2=sin x.
Next you find the Wronskian of the these solutions, W. (In this case it is 1, so not particularly...