Move Object along a straight line
===

I am trying to move a Sprite along a straight line path. I want to move it 5 pixels on the slope, or the hypotenuse each time I go through the method until I reach the end point.

I have the slope and y-intercept of the line, I also have the current X and Y values of the sprite through getX() and getY(). The final X and Y points to stop at are variables finalX and finalY.

I have tried so many equations but I can't seem to get any of them to work. What am I missing!!?

![Hopefully this image makes sense for what I am trying to do!][1]


  [1]: http://i.stack.imgur.com/9TO1a.png