If you want layers evenly spaced in a composition, there’s a handy After Effects expression for that.

First, create a position expression and make a variable. The variable is going to equal the index of the layer, and then divided by the number of layers in the composition plus one. This gives a value between 0 and 1, because the index must at least be 1. Then, multiply all of this by the width of the composition. This gives a result that is between 0 and the width of the composition. This equation scales with additional layers, thus keeping even spacing between them.

var spacing = thisLayer.index/(thisComp.numLayers+1)*thisComp.width;

Since this is position, the value must be returned as an array. So, if you want to use the variable for the X position, then include the variable name there and use the unchanged Y position.

[spacing,value[1]];

This should all be done in a separate composition because the equation reads the index value. This is because if you add an additional layer in the composition on top of these layers, it will alter the positioning of the layers.

See a short After Effects tutorial here: