For the 6 faces and 8 vertices of a regular hexahedron, respectively sealed with red and blue these 2 beads (each face contains a bead and each vertex contains a bead), how many different types of solutions are there?