NOTE: Everything in computer graphics is on a 2d grid, which is the computer screen. However, unlike a standard 2d graph, The origin is the top left of the screen, and the y axis is flipped, like this: 
please keep this in mind when answering.
I am developing a game. Assuming the player is at (px, py), and the player is facing in the direction of
(fx, fy), what is a formula that I could use to move the player $n$ units closer to point (fx, fy)? The player should move along the line [(px, py), (fx, fy)]