A method is given for the least squares regression of a squared variable d2 on the squared variable 02, where the relation between 0 and d is linear. The problem arises in MDS-algorithms where the loss function is defined in terms of squared distances (e.g., ALSCAL). It is pointed out that the Lagrangian multiplier is a root of fourth degree polynomial.