First of all, you don’t really need to merge them into a single partition. You can simply mount them somewhere and split off some stuff from your root filesystem, as per this guide… ![]()
Secondly, there is a way to merge all of your partitions into a single filesystem without having to physically move or merge anything, but it’s tricky and not for the faint of heart, and you will need the btrfs filesystem for that — ext4 cannot do this.
If you’re a newbie, then my advice would be to just make a backup of all your data on an external medium or on a second internal drive, and then repartition and reformat your main drive, reinstall, and restore your backup.