solve 1/(r+1)*y + r/(r+1)*g = 100 for r