Calculus operators work just like algebra (althought the math people hate it).
So this is true:
dG/dx = (dG/dy) * (dy/dx).
See how the dy parts cancel on the right (if you multiply and divide by the same thing, it cancels out)? You do not have the function G(x). Therefore you cannot solve the left part of my equation above. But you do have G(y). So you can solve the right portion of my equation above.
By the way, using primes (') in your post is very bad practice. Why? Does F'(y) refer to dF/dx or dF/dy? No one knows. It just leads to confusion. Once you go multivariable, you need to stop using the prime writing shortcut.