Final answer:
To find the value of x, set up the equation using the fact that Z is the midpoint of AC and Y is the midpoint of BC. Simplify and solve for x to get the answer.
Step-by-step explanation:
To find the value of x, we can use the fact that Z is the midpoint of AC and Y is the midpoint of BC. Since YZ is given as 21, we can set up the equation YZ = 1/2 * AC.
Substituting the given value, we have 21 = 1/2 * (2x - 4).
Simplifying the equation, we get 42 = 2x - 4.
Adding 4 to both sides, we get 46 = 2x.
Dividing by 2, we find that x = 23. Therefore, the answer is D. 23.