S = (HR(Wi - Wn)) / 1000.
First, multiply both sides by 1000.
1000S = HR(Wi - Wn)
Divide bot sides by H(Wi - Wn)
(1000S) / H(Wi - Wn) = R