The relationship between figure X and figure Y is as follows:
Figure Y represents figure X as:
1) The inner shape (triangle) rotates 180° and is pushed upward towards the top of the outer shape,
2) The dark section becomes white and the white section becomes dark.
The correct answer must have the same relationship with figure Z.
Answers 2, 3, and 4 can be eliminated as the inner shape (trapezoid) is not rotated.
Answer 1 can be eliminated as the dark section remains dark and the outer shape (the triangle) is rotated 180°.
We are left with answer 5, which is the correct answer, as it portrays figure Z with the inner shape (trapezoid) rotated 180°, the dark sections becoming white, and the white sections becoming dark.