.
The matrix is
P =
If you write all 6 the determinant's terms, 4 of them (out-the-diagonals-terms) will contain 0 (zero) as a factor,
and, therefore, will be equal to zero.
The only two diagonal terms will contribute to the determinant
det(P) = (t+2)*(t-1)*(3t+1) - (2t+4)*(t-1)*(t+1) = (t-1)*((t+2)*(3t+1) - (2t+4)*(t+1)) =
= (t-1)*(t+2)*((3t+1) - 2*(t+1)) = (t-1)*(t+2)*(t-1) = (t+2)*(t-1)^2.
The zeroes of the determinant are the values t= -2 (of multiplicity 1) and t= 1 (of multiplicity 2).
Solved.
-------------------
On introductory lessons on determinants of 3x3-matrices see the lessons
- Determinant of a 3x3 matrix
- Co-factoring the determinant of a 3x3 matrix
in this site.
Also, you have this free of charge online textbook in ALGEBRA-II in this site
- ALGEBRA-II - YOUR ONLINE TEXTBOOK.
The referred lessons are the part of this online textbook under the topic
"3x3-Matrices, determinants, Cramer's rule for systems in three unknowns"
Save the link to this textbook together with its description
Free of charge online textbook in ALGEBRA-II
https://www.algebra.com/algebra/homework/complex/ALGEBRA-II-YOUR-ONLINE-TEXTBOOK.lesson
into your archive and use when it is needed.