Ghost - image 2 partitions

I want to image the C drive as well as the hidden partition with the recovery data on an HP desktop. If I select both of them to be imaged together, when I restore them will it create the individual partitions on its own? or do I need to create the partitions before I restore.

 

Thanks