A particle is moving along a curve so that its position at time $t$ is $(x(t),y(t)),$ where $x(t) = t^2-4t+8$ and $y(t)$ is not explicity given. Both $x$ and $y$ are measured in meters, and $t$ is measured in seconds. It is known that $\frac{\mathrm{d}y}{\mathrm{d}t} = te^{t-3} - 1$.
(a) Find the speed of the particle at time $t = 3$ seconds.
Answer given: Speed = $\sqrt{\left(x^{\prime}\left(3\right)\right)^2 + \left(y^{\prime}\left(3\right)\right)^2} = 2.828$ meters per second.
Why is the answer not $\frac{\mathrm{d}y}{\mathrm{d}x}\Bigg|_{x=3} $