I'm afraid you'll have to re-purchase iLife (iPhoto, iMovie, Garageband, etc..) and iWork (Pages, Numbers, Keynote) to be able to download them from the Mac App Store.
I kind-of wondered why Apple didn't make the iLife apps free to all Mac users since they preinstalled on every Mac anyway, but that's the way it is.