How to extend (and shrink) audio files

The title speaks for itself. I’m trying to do this with a rhythm track

I’m not sure that it does, but let’s see: “Change Speed” effect Change Speed and Pitch - Audacity Manual