Suppose a moth is lying in a circle about a candle flame so that its position at time t is given by x = cost, y = sin t. Suppose that the air temperature is given by T(x, y) = x^2e^y-xy^3. Use the chain rule to find a formula for dT/dt, the rate of change of the temperature the moth feels.

Do I just use the chain rule for composite functions for this one?