How to reset macOS v10.15 (Catalina) with apps that come from the store before I sell it I already tried Cmd + R. Then I went to Disk Utility to delete Macintosh[HD] and Macintosh data. Finally, I exited Disk Utility and with the Wi-Fi connection reinstalled macOS v10.15 (Catalina). 

But I don't find the programs like iMovie, Garageband, Pages, and Keynote, that appeared when I first turned on the Mac. How can I get them back?
They belong to the owner of the Apple ID, so will be available to re-download once that ID is signed in. If you are wiping this to sell, then the new owner will be responsible for setting it up. 

You shouldn't try to do it for them, or all the apps will again belong to your ID, not theirs.

See Apple KB - What to do before you sell, give away or trade in your Mac