D=C-s/n for s s/n = C-D Next, multiply both sides of the equation by n. That will give you an equation for s.