to prevent the mission from being cheesable (think if you undocked a single docking port with nothing attached to it, then used reaction wheels to spin the other docking port into it) it needs to be 2 separate launches.
the best way to complete it that feels immersive is to launch a space station and dock something to it