Greetings from Brasil...
Where there is X in function G(X), we will replace by F(X)
F(X) = 3 - X and G(X) = X/(X + 1)
replacing....