Determine whether two functions are inverses

Determine whether two functions are inverses