EXPLANATION: Remember that a function is like a machine. F(x) is a machine and G(x) is also a machine. Plugging F into G is basically taking the output of the F machine and putting it into the G machine.
I really hope this helps! If you need a more detailed explanation, feel free to message me. BEST WISHES:)