Use cofactor expansion along the first row to find det(B)\det(B)det(B) where B=(123045006)B = \begin{pmatrix} 1 & 2 & 3 \\ 0 & 4 & 5 \\ 0 & 0 & 6 \end{pmatrix}B=100240356.
242424
000
120120120
666