No proper Explanation

can you please how the output is 6 for 2*2 board if i place 1 queen then there are 4 way possible to place the queen and for larger value of queen it will be 0.