Find the domain and range of the function inverse