These positions are random. These are not the actual positions. I also have 2 times.

TimePassed = 5
TimeTotal = 12

Pos1 is the starting location. Pos2 is the ending location. I have a part that takes a certain amount of time to get from pos1 and pos2 (TimeTotal). I would like to find the location between the 2 positions depending on the time passed and time total. So with these times, it would be 5/12 of the way to point 2.

So you’re attempting to find out how long it takes to get from point a to b based on a time or are you attempting to see how far someone can move with a certain time?