Notons "ln" le logarithme népérien.

Alors log(a)x, =ln(x)/ln(a).

Avec ça, tu devrais avancer ;)