First row, five squares at will. There are five kinds.
In the second row, the column that was released in the first row can't be put down. There are four kinds.
On the third line, there are three kinds.
The fourth line, there are two kinds.
The fifth line, there is only one kind.
5*4*3*2* 1= 120