Given the function :
[tex]f(x)=5^x-1[/tex]We will find the inverse of the function analytically as following :
[tex]y=5^x-1[/tex]Solve for x
[tex]\begin{gathered} y+1=5^x \\ x=\log _5(y+1) \end{gathered}[/tex]make y in the place of x. so,
[tex]\begin{gathered} y=\log _5(x+1) \\ \\ f^{-1}(x)=\log _5(x+1) \end{gathered}[/tex]The graph of both function will be as shown in the following picture .
The given function f(x) = 5^x - 1 is the graph of the blue color
And the inverse with the red color
each function is written closer to its graph