Complex sentence: This will give us a motivation for chosing an optimization criterion from which we will then derive the expression of the least-squares estimator.
Split into simpler sentences: This will give us a motivation for chosing an optimization criterion. We will then derive the expression of the least-squares estimator.