What would the calculations look like if we allowed decimal fractions as offset?
Very simple!
Subtract one cube length from the garage side length. then divide the garage length by the column length and decide how many columns you want. Divide the reduced garage length by the number of columns minus 1 to get the Relative Offset:
