Okay. The only part of the problem I am having trouble with is showing that $g^{-1}$ is continuous, which is equivalent to showing that $g$ is an open map. I've seen some solutions invoke this idea of Invariance of the Domain, but I don't believe this has been discussed in my book yet.