The key rule is that adding a multiple of a row to a different row doesn't change the determinant.
A corollary is that if two rows are a multiple of each other the determinant is 0. (because you could use the first rule to reduce one row to all zeroes, and then expand along that row to evaluate the determinant).
This sorts the first matrix out very quickly. 2nd one looks a bit more tricky.