Taking log of both sides:
log 5
x
= log 0.3
So