You have not said what g and f are. It is as simplified as it can get. You posted a similar question earlier with sepecified functions. Why are you posting it again without functions?
You can ask a new question or answer this question.