Answer:
w = 3; w = 4
Explanation:
We can start by expanding the equation on the left hand side:

We can first simplify the equation subtracting all the terms on the right hand side and having the equation equal 0:

Now, we have one equation in standard form (ax^2 + bx + c = 0).
We can solve this equation using the quadratic equation which is

Since -1 is our a value, 7 is our b, and -12 is c, we simply plug in our values and solve for x:
First x:

Second x:

Finally, we must check for extraneous solutions, which (if present) will make the equations not true. We simply plug in 3 for w and 4 for w to check for such solutions:
Checking 3:

Checking 4:

Since the equations are true for both 3 and 4, both values work for w.