How many ways are there for 20 rectangular brick with dimensions

1 X 3 to fill a grid with dimensions 3 X 20 ?

Can someone please help!!!

There are 40 + 5 + 2 = 47 ways to fill the grid.