I have this problem from my discrete math comp sci class about inverse functions

show that for the functions f, g and h

All i have so far is that

because I have in my notes that

If that right? And if so is there any other way I can show more work?