This was a school project where you had to use only 10 blocks ( but you get unlimited uses of that block ).
Credit to @biglukedude for help.