Stack the barrels in a triangular arrangement by duplicating the existing row and offsetting the row in both X and Y.
Using basic trigonometry, you can calculate the unknown height offset. MEL has a library of built-in functions that include trigonometry functions, to handle these calculations.