Are there any solutions out there that can take a wide variety of equations with variables, like the one below, and transpose or isolate variables to other sides of the equation automatically?
For example, imagine having to transpose the variable "g" (gravity) to be by itself on the left of the equation, I'm just looking for a program or online tool to do this automatically.
Perhaps Wolfram Alpha or Mathematica can do this?
Note to SE people: I tried to use the tag "transposition" but it wasn't available, couldn't think of any other tags.

UPDATE: It appears that Wolfram Alpha has a Solve command for this (thanks Lord_Farin), even though many math books, math teachers, and math websites refer to this practice as "changing the subject of a formula" and "transposing" it seems to be the same thing as "solving for a variable."
The only issue now is that Wolfram Alpha gives funky results, for example if you punch in this: original equation you get a very odd answer from Wolfram Alpha. If you change the x2-x1 and y2-y1 stuff to just "x" and "y" (I tried using delta symbol to represent "change in x or y" but it was still a weird answer) you get a clean answer like this. Does anyone know why this happens or how to better write equations for Wolfram Alpha?