Determinants

Example 2 Evaluate $|\begin{smallmatrix}x&x+1\\ x-1&x\end{smallmatrix}|$