Calculus isn't easy. It took the genius of Isaac Newton to develop, so don't be discouraged.
Do you understand why you have to apply the power rule to
tan(y))
?
Remember that you defined x and y as functions of t when you wrote:

and
This means that
)
is a function of a function. The same is true with
)
. In order to differentiate I have to apply the chain rule.
Then the derivative is:
You don't want leave it in this form since

, you should substitute this for the
Can you tell what the derivative with respect to t of
is?