The Characteristic Polynomial of a kind of Hexagonal System and its Application