Explanation:
Remember: the midsegment is always parallel to the third side, and the length is half of the third side. (Third side = XY) Assuming that line segment XY is the length of the third side of the triangle, we can insert it into this equation:

Let's plug in XY for AB.



Our final answer: AC = 6