Are you asking is a Ryzen 2200G is better then a i3 6100 with a 1050ti, or both have a 1050ti? If you mean both with a 1050ti then obviously the Ryzen is better, if you mean the 6100 with a 1050ti, then the 1050ti will probably give you the edge even witht he limited 6100.
I would not recommend a 6100 though at all since dual cores have become obsolete in the last few years, but rather get i5-6500 if possible.