In how many ways can the numbers 1 through 9 be placed once each in the squares below, if the numbers 1 and 2 cannot be placed in adjacent squares (either horizontally, vertically, or diagonally), and rotations and reflections of the grid are considered the same?
(its 3x3 squares like a rubix cube)