Applying rates and solving for unknown variables