Determinants of a Product of Matrices