p9 Correct Solution

Logarithmic solution