Once they have have it as a product they use the property of determinants

since

so for the big conslusion if you swap two rows (columns ) in a matrix you get the negative of the determinant. If you multiply a row by a constnat it multiplies the determinant by the same constant (not zero)

Adding a multiple of a row (column) does not change the value of the determinant