That was the first step and the ONLY step that had anything to do with the calculus.
You simply must know the derivatives of sine, cosine, and tangent. If you do not know them, you will fail.
The last part is a simple substitution. You should be able to do that. With a standard value like -pi/4, these values should be on the tip of your tongue or you may need to reconsider whether you belong in calculus class.
Let's see what you get.