You can put this solution on YOUR website! What is the composition of two funcions: basic
(g or r )(4)
(r or q )(4)
-------------
You have to have an equation for q and an equation for r to find (gor)4
If you have those gor(4) = g[r(4)]
--------------------
Similarly you have to have an equation for r and for q to find (roq)(4))
If you have those rog(4) = r[g(4)]
===================
Cheers,
Stan H.