How to create brickwall with spacing gradient

Hi all. I’m new here. Wanted to create a brickwall with gradient of spacing as shown below. Any idea how to do that using grasshopper?