What is the solution to this math problem?
Solve 729*w = 222*w - 222*w - 40824 for w.
-56