This is a longish proof, but the hint takes you through it in fairly manageable steps. Which step (or steps) is giving you difficulties?

One thing to look out for is that the letter c is being used for a constant (that is, it must be independent of N and theta), but it's not necessarily the same constant at each step of the proof.