iWork and iLife are not free after reinstall
You can download the iWork '09 and iLife '11 trials and install them. The AppStore will then offer to upgrade these old apps to the current version. See these or these instructions.