Find the exact length of the midsegment of the trapezoid with the vertices A(2,0), B(8,-4), C(12, 2), D(0, 10)

The length of the midsegment is