Let's say I have a board like this one (though significantly smaller, it's 4x7)

and I have two 2x3 bricks.
I'd like to know how many ways to arrange the bricks on the board. The bricks should stay inside the board and they should not overlay.
Doing some calculations/estimations, I came up with ~285 arrangements, but I couldn't figure out a more "scientific" method. I'd also like to "create" a formula taking into account variables like the board size, the number of bricks and their size. Thanks in advance.
The following 316 arrangements are possible: (some are symmetric; enumerated with a C# program)
Arrangements: 316
This can be verified using a
Pythonscript gleaned from here:I have to confess that my C# code to produce the list of arangements is much longer.