Solve 34 - 287 = -72*w + 395 for w.
9