Taking log of both sides:

log 5x = log 0.3

So

math expression