What problems? Can you show the steps you have worked out? We will help you out.

Yes R and r are different variables.I know logs are involved in it somehow...

Should I completely ignore the little 0 next to the R? Mathematically speaking, are R and r different variables?