Two tools are required for this kind of problems: the Chinese remainder theorem, which is used to solve systems of simultaneous congruences via Bézout's identity, and the little Fermat's theorem. I'll try to show from the first problem.
First, as $713=23\cdot 31$ and the factors are (co)prime, $\;\mathbf Z/713\mathbf Z\simeq \mathbf Z/23\mathbf Z\times \mathbf Z/31\mathbf Z$. The interesting isomorphism is from right to left: if you have a pair of congruence classes: $\alpha\pmod{23}$ and $\beta \pmod{31}$, it corresponds to the congruence class of
$$ 23u\beta+31v\alpha\mod 23\cdot31, $$
where $u$ and $v$ are the coefficients of a Bézout's identity between $23$ and $31$, say
$$ -4\cdot 23+3\cdot 31=1. \tag{1}$$
Now as $89\equiv 20\mod23$, we have $89^{307}\equiv 20^{307}\mod 23$. Furthermore, by Little Fermat, $20^{22}\equiv 1\mod23$, so $20^{307}\equiv 20^{307\bmod22}=20^{-1}\mod23$.
We find the inverse of $20\bmod23$ with Bézout' identity:
$$7\cdot 23-8\cdot 20=1$$
which shows $\;20^{-1}\equiv-8\equiv\color{red}{15}\mod23$.
Similarly, $89\equiv -4\mod31$, and
$$89^{307}\equiv -4^{307\bmod30}=-4^7=-2^{14}\mod31.$$
Furthermore, $2^5\equiv 1\mod 31$, hence $$89^{307}\equiv -2^{-1}\equiv \color{blue}{15}\mod31. $$
Thus we have to solve the system of congruences $\;\begin{cases}x\equiv 15\mod23\\ x\equiv15\mod31\end{cases}$. We just have to apply formula $(1)$:
$$x\equiv-\color{blue}{15}\cdot4\cdot23+\color{red}{15}\cdot3\cdot31\equiv15\mod713.$$