please help to solve tie exponential equation for x:

5^x=8

take log of both sides

log 5^x = log 8
x log5 = log8
x = log8/log5 = appr 1.292