Answer:
Z =7
Explanation:
The middle segment theorem of a triangle says that: A middle segment connecting two sides of a triangle is parallel to the third side and is half its length.
In this case, the middle segment connecting two sides of a triangle is Z.
This means that

Finally we have that:

The length of the middle segment is 7 units