I need help with this problem. I have the answer, but i don't know how they got it.

Given the parametric equation x=cost, and y=2t determine dy/dx and the second derivative of this parametric equation.

I understand how they got dy/dx = -2csct, but i don't understand how they got the second derivative. I have the answer, but don't know how to type it on this forum.