  We deal with the construction of linear connections associated with second
order ordinary differential equations with and without first order constraints.
We use a novel method allowing glueing of submodule covariant derivatives to
produce new, closed form expressions for the Massa-Pagani connection and our
extension of it to the constrained case.
