Solve 311*w = 121*w + 1330 for w.
7