I don't know how to solve this problem... Please help!

The correlation between respiratory rate and body mass in the first three years of life can be expressed by the function

log R(w) = 1.78 - .38 log (w),

where w is the body weight (in kg) and R(w) is the respiratory rate (in breaths per minute). Find R'(w) using implicit differentiation.