Let us take the Black King.
When placed in any one of the 4 corners ,white king will have 60 other places to be placed in
Thus 60*4 = 240
When placed in any one of the side squares(ending rows but not corners)
white king will have 58 other places to be placed in
Thus 24*58 = 1392
When placed in any one of the middle squares (Excepting the ending rows)
white king will have 55 other places to be placed in
Thus 36*55 = 1980
Thus totally we have 3612 ways
No need to double it as we have already considered the possible cases