That totally depends on what you choose during installation.
Generally I would advice to pick "something else", select the sdd for mountpoint /
and select the hdd, and give it a mountpoint for each of the 4 partitions you want to keep and add to the new system, and pick the filesystem it currently has WITHOUT formatting. After install you need to do sudo chown $USER:$USER /{mountpoint{1-4}}
Mind that if there is an OS (ie. Windows) on the hdd it now becomes a data partition in your new system. This will erase anything on the ssd and make it a bootable Ubuntu where the hdd is a storage partition. It will be a SINGLE boot.
Mind that you need to make a backup of anything important. Always, reguraly. Not just when you mess with partitions.