The number of diagonals in a polygon of m sides is
12!m(m−5)
12!m(m−1)
12!m(m−3)
12!m(m−2)
Required number of diagonals
=mC2−m=m(m−1)2!−m=m2!(m−3)