How long does it usually take to mine a bitcoin?
You would never be able to mine a solo mine any Bitcoin with a GTX 1050. The current network difficulty is so high that your GPU would have an almost 0 probability of finding a block and thus earning any Bitcoin.