Microsoft Windows Solitaire: How is the score computed?

The solitaire game on Microsoft Windows: when you play standard scoring, you get a final score that is somehow related to the score you earn playing the game against the time it took you to do it.

For example, I just finished a game with a score of 487, in a time of 145, for a final score of 5235.

I know there’s some relationship between your score and your time that makes your final score, but I don’t see what it is.

Anyone know?

TIA