Ah I see. Okay. It's clear that you haven't done differential equations before. To answer your question, for a second derivative, you can just integrate twice, IF you know what the function is. In this case, however, we CAN"T integrate because we don't know what the function, [itex]\theta (t)[/itex] IS. In fact, that's what we are trying to solve for. ALL we know is that:
[tex]\frac{d^2 \theta (t)}{dt^2} \propto -\theta(t)[/tex]
This type of equation, in which a function is related to one or more of its own derivatives is called a differential equation. When you use this information to find out what the function is, that is called "solving" the differential equation. In this case, it's called a "second-order" differential equation because the highest-order derivative in the equation is a second derivative. There are formal methods for solving differential equations. The good news is that you don't need to know these methods in order to solve this problem. In this problem, we can just GUESS the solution:
Can you think of a function whose second derivative is proportional to the negative of itself?
Hint: the function should describe the motion of the rod with time? What does your intuition tell you will happen if you displace the rod by a small angle and then let it go? What kind of [itex]\theta (t)[/itex] might describe that result?