Which of the following is metamer of the given compound (X) ?

From the JEE Main 2024 · 6 Apr · Shift 1 paper. Try it, check your answer, then read the worked solution below.
Which of the following is metamer of the given compound (X) ?

Try it yourself first, then check your working against this.
Worked solution
Metamers have the same molecular formula and the same functional group, with different groups on either side of it.
(X) is , a secondary amide.
(D)
Concepts used: metamerism
Every past question tagged to the same part of the syllabus, with solutions.
Past questions on the same topic (Structural isomerism), each with a worked solution.
Timed, in the real format, and marked the moment you submit.