I have a question on deriving the kinematic equation $v^2=v_{0}^2+2a(x-x_{0})$ from first principles and the known kinematic equations. Is this simply differentiating, but with respect to time($t$)? If so, wold the process be ($a$ is a constant) $$v^2=v_{0}^2+2a(x-x_{0})\rightarrow v^2=v_{0}^2+2ax-2ax_{0}$$ $$\frac{d}{dt}\left( v^2=v_{0}^2+2ax-2ax_{0} \right)\rightarrow 2v\frac{dv}{dt}=2v_{0}\frac{dv}{dt}+2a\frac{dx}{dt}-2a\frac{dx}{dt}$$ but I am not sure if I am doing this the right way and Since I am not given a value of $\frac{dx}{dt}$ or $\frac{dv}{dt}$ I don't know which one I am looking to solve or If i am even solving the right way. I've never dealt with deriving equations with variables with subscripts, so if anyone has any insight on how to go about solving this problem, it would be greatly appreciated!
EDIT: I see that someone "complained" this question isn't about math, if this isn't math please let me know and I will delete.