I am having a serious issue understanding an example in a book titled, Essentials of Stochastic Process by the author, Durrett,
In particular, I do not understand where the inverse matrix comes from and how that fits into anything.
My understanding of determining a stationary distribution rests on
Definition: of qp=q, then q is a stationary distribution.
Any help is appreciated.

Looking at the last row of $A^{-1}$ is equivalent to the matrix product $e_nA^{-1}$, where $e_n$ is the row vector made up of $n-1$ zeroes followed by a single $1$. This, in turn, is equivalent to solving the system of equations $xA = e_n$.
Where did this system of equations come from? It's a way of combining the $n \times n$ system $xP = x$ (where $P$ is the transition matrix) with the condition that all the entries of $x$ must add up to $1$.
We can rearrange $xP = x$ into $x(P-I) = 0$, and write the add-up-to-$1$ condition as $xj = 1$ (where $j$ is a column vector of $n$ ones). If we just combine these equations, we get the system $$ x \begin{bmatrix} P-I & j\end{bmatrix} = e_{n+1}. $$ (Similarly to earlier notation, $e_{n+1}$ is a row vector in $\mathbb R^{n+1}$ with $n$ zeroes followed by a $1$.)
We can't invert this yet, because it's not a square matrix. It's not a square matrix because we've imposed $n+1$ conditions on our $n$ variables. The only reason we actually have any solutions here is that of these $n+1$ conditions, one is redundant. Any one of the $n$ equations coming from $xP = x$ can be deleted, because we can deduce it from the other $n-1$.
So we replace $P-I$ by $(P-I)'$: the matrix we get from deleting the last column of $P-I$ (that last column corresponds to the last of the stationary equations). Then we get the system of equations $$ x \begin{bmatrix}(P-I)'&j\end{bmatrix} = e_n $$ and now we can solve this by taking the matrix inverse: $x = e_n \begin{bmatrix}(P-I)'&j\end{bmatrix}^{-1}$.
So that's where the matrix we're inverting comes from: it's made up of the first $n-1$ columns of $P-I$, followed by a column of all ones.