inverse function practice problems with answers pdf