solve for C

makeup: S=C+RC

S = C + RC

S = C * ( 1 + R ) Divide both sides with ( 1 + R )

S / ( 1 + R ) = C

C = S / ( 1 + R )