Given the following values, you can determine percentage completion as follows:
StartX - X coordinate of the start line
CurrentX - current X coordinate of the player
EndX - X coordinate of the finish line
Percentage completion: ((CurrentX - StartX) / (EndX - StartX)) * 100