The determinant of matrix \(\begin{pmatrix} x & 1 & 0 \\ 1-x & 2 &…