If the SSD is SATA3, plug it into one of the gray ports.
If the SSD is SATA2, plug it into one of the light blue ports
Plug the Samsung into one of the light blue ports.
Plug any optical drives into the remaining light blue ports.
Note that when you install Windows, you should only have the SSD connected initially. Once the install is complete, then plug the Samsung in. Otherwise Windows can get confused during the install.