(Assuming you have already shown or aren't asked to show that f has an inverse in the first place)

It will be enough to show that f is open, that is, for any open set U, f(U) is also an open set. In fact, it suffices to consider open intervals. See where you can go from there.