This equation for the Euclidean distance metric

For X and Y, say the system had two objects on screen (A+B), If A was closest to the screen and B was further, then relative to the users position from the screen the speed of move moment of the objects would the would be inversely proportional from the distance to the user. Of B was twice as far as A it would move at half the speed. This is the formula for motion parallax.

I plan to input the values using OSCulator, sending the data stream through port 9999 and into and open source software called PD extended. IN this software there is a section called GEM, In gem I will simply put the data stream through the equations above and feed these new values into a rotate camera object that comes with the software. However I am unsure if the equations work or are necessary!