Open App Store, sign in with your Apple ID. Click on Purchases icon in the toolbar. You should find a message telling you to download your as yet uninstalled iLife apps.
Please be sure you have registered your iMac with Apple before the above.
When you download iLife it will be missing iDVD.
IDVD must be purchased on disk as part of iLife 11.