I am struggling on figuring out how to do this. Please help me

Given:-
[tex]f(x)=13x+2[/tex]To find the inverse of the function.
So now we change the value of x in the given function as y and find the value of y. so we get,
[tex]x=13y+2[/tex]Now we find the value of y. so we get,
[tex]\begin{gathered} 13y+2=x \\ 13y=x-2 \\ y=\frac{x-2}{13} \end{gathered}[/tex]So the required solution is,
[tex]y=\frac{x-2}{13}[/tex]