Solve 0 = -295*w + 364*w + 1794 for w.
Solve this problem.
-26