I have the following matrix:

```
$$
\left[
\begin{array}{ccc|c}
-4&2&-2&10 \\ 1&0&1&-3 \\ 3&-1&1&-8
\end{array}
\right]
\sim
$$

```

I want to have something like this:
![enter image description here](https://i.stack.imgur.com/gaPs0.png)

How shall I add equations on top of the `~` and make these align? 
Thanks!