Using division to calculate the number of bricks needed