Jim and Gail invested a total of $3,600 in a stock, in a ratio of 5:7. The stock made $6,450 on top of the initial capital. If the payoff is done in the same ratio, how much does Gail get?