Question about computing the determinant of matrix of indeterminate variables

Welcome to this forum! Also, please quote your code.