For example, if N=1 there is only one way  two 1x1 squares.
If N=2 then there are two ways  one way is a 1x1 square with an "L" shape and two 2x1 rectangles as the other.
If N=3 then there are the 6 ways as depicted:









perplexus dot info 


