Excellent, thank you.Once you have the new unit, before doing anything you need to first call Nintendo, to remove any ties to that previous 3DS you had. They'll ask some questions to confirm you're the owner of the account.
Then, you just log-in. Mario Kart 7 will be added to the account.