How do you differentiate the following parametric equation:  x(t)=-e^t+4t, y(t)= 3t^2+2t ?

$\frac{\mathrm{dy}}{\mathrm{dx}} = \frac{6 t + 2}{4 - {e}^{t}}$
By using the chain rule that is $\frac{\mathrm{dy}}{\mathrm{dx}} = \frac{\mathrm{dy}}{\mathrm{dt}} \cdot \frac{\mathrm{dt}}{\mathrm{dx}}$