Is there a formula for the movement of the point?

So I’m trying to make a point navigate to another point’s x coordinate then after that navigate to that other point’s y coordinate (in a certain amount of time) and I can’t figure out a formula, so could you help me out?

Something like this might be what you’re after: Graphing Calculator

The median(0,1,(t-a)/b) function is responsible for most of the magic here, I recommend graphing it separately and experimenting with what a and b do!