I'm studying calculus on my own with the MIT OCW book. Question 61 on page 113 asks: "What point on $y= -x^2$ is closest to what point on $y = 5 -2x$?" I have been looking all over the internet for an example but can only find examples of this when we are finding a point on a curve closest to a fixed point and not another curve. Since both points can move, I tried using the distance formula with and setting $y = 5 - 2a$ as a substitute but after an hour fiddling with it I can't figure out how to do this. Can anyone please help?
https://ocw.mit.edu/ans7870/resources/Strang/Edited/Calculus/Calculus.pdf