multiply the right side out, and then "complete the square":

(except you're using "w" instead of "x". can you figure out what your "a" and "b" are?)

get the square on one side, and everything else on the other, take the square root, and then subtract to "isolate" your variable (in this case, w).