Solved via determinants