If the midsegment of a triangle is x^2 - 4 and its base is x^2 - 2x + 7, what would the length of the midsegment
be?