To record on Audacity, you simply need to set up your microphone, add a track, and press the "Record" button ...
You can add music to iMovie from a variety of different sources, depending on the device and type of sound you're adding.