solving for r