Equilibrium configuration of the one-dimensional N-body problem with quadratic and inversely-quadratic pair potentials