Extension of a Formula by Cayley to Symmetric Determinants