Saving best score in fastest time is a catch 22 situation. Impossible?

You might have to decide which data value determines whether the score is better or not. If you want Time to be accounted for then have it apply a bonus to your end score, that way there is a relationship. You could also have it so that as the time increases, the bonus points it adds exponentially increase therefore making longer times more valuable. I tried for some time to work through this problem but each time I’m stumped.