Thanks for letting me know. Don't know why it is doing that, it's just a regular pdf file.
Anyway, here is the problem:
r=(sec theta + tan theta)^-6
The answer I got is:
-6(sec theta + tan theta)^-7(sec theta tan theta + sec^2 theta)
If anyone could confirm that this answer is correct, that would be helpful.