We want to create a function g and a function h so that if you put h INTO g in place of x, you will get f for an answer.
If h(x) = 3/4x. and g(x ) = x + 3. Then putting h INTO g in place of x will give the desired result.
This is not the only solution, but it seems the most straightforward.