You're basically looking at three different elements.
Learn to make the individual brick.
Make the bottom row of bricks "n" wide.
Make each consecutive row "n-1" narrower and centered.

Chris