If $A\in M_{n\times n}\left(\mathbb{R}\right)$ is such that $ (A+I)^3=0$, show that $A$ is an invertible matrix and find the inverse of $A$.
My idea was: \begin{eqnarray*} 0&=&\left(A+I\right)^3\\ &=&A^3+3A^2I+3AI^2+I^3\\ &=&A^3+3A^2+3A+I, \end{eqnarray*} then $$I=-A^3-3A^2-3A,$$ so $$I=A\left(-A^2-3A-3I\right).$$ It follows that $$A^{-1}=-A^2-3A-3I.$$
Now I found the inverse matrix, but how does this show that an inverse actually exists?
Your idea is good, it works. You have shown that $$A(-A^2-3A-3I)=I,$$ which means that $-A^2-3A-3I=A^{-1}$ by definition of the inverse. This also shows that the inverse exists, because you have constructed it already.