I think your writing the inverse function, so your actually solving for x and not for y. I'm trying to remember how this is done. I think you swap x and y, and then once you solve for it, mirror it about the line y = x or something like that. I need to review it.