Object C Game Geometry question
I'm creating simple game and reached the point where I feel helpless. I was good in geometry but it was long time back in school, now trying to refresh my mind.

Let's say i have iPad screen. Object's xy position at one given point of time and xy position at another point of time stored in 2 variables . 

Question:
how to find the third position of the object at the end of the screen being given previous 2 position, considering the object moves in the same direction (line) from point 1 to point 2.

Thanks in advance.
Object C Game Geometry question
===

I'm creating simple game and reached the point where I feel helpless. I was good in geometry but it was long time back in school, now trying to refresh my mind.

Let's say i have iPad screen. Object's xy position at one given point of time and xy position at another point of time stored in 2 variables . 

Question:
how to find the third position of the object at the end of the screen being given previous 2 position, considering the object moves in the same direction (line) from point 1 to point 2.

Thanks in advance.