Your MB supports the GTX 1050 and the following slots:
1 x PCI Express x16 slot, running at x16 (PCIEX16)
* For optimum performance, if only one PCI Express graphics card is to be installed, be sure to install it in the PCIEX16 slot.
1 x PCI Express x16 slot, running at x4 (PCIEX4)
* The PCIEX4 slot shares bandwidth with the PCIEX1_3 slot. When the PCIEX1_3 slot is populated, the PCIEX4 slot will operate at up to x2 mode.
4 x PCI Express x1 slots
(All of the PCI Express slots conform to PCI Express 3.0 standard.)
Insert the card into the PCIE X16 slot.
Thanks to that modest TDP, neither GTX 1050 needs an external PCIe power plug to do its thing.
If your still unsure I will explain more fully with Diagrams.