Pretty much as in the title, though a more general answer would also be nice. . I thought you could find in inverse of $45$ in mod $113$, then take the equation to that power. In this situation that gives:
$45^{-1} = 108 \mod 113$
$(x^{45})^{108} \equiv x^{45\times108} \equiv x^1 \equiv 7^{108}$
However this is wrong according to wolfram alpha, so I guess the above is complete nonsense. The correct answer is $83$
$113$ is prime, hence the units of $\Bbb Z_{113}$ form a cyclic group under multiplication with order $112$.
Therefore, $\forall x \in \Bbb U(113): x^{112} \equiv 1$.
Therefore, you should be finding $45^{-1} \pmod{112}$ instead of $\pmod{113}$.