The structure of X is:

The molecule contains two functional groups:
Step (i)
Phenylmagnesium bromide, , is a Grignard reagent and acts as a source of the nucleophilic phenyl group, .
Since only equivalent of the Grignard reagent is used, it reacts with the more reactive functional group.
The ether group remains unaffected because ethers are inert towards Grignard reagents.
The electrophilic carbon of the nitrile group undergoes nucleophilic attack by to form an imine magnesium salt.
Step (ii)
On acidic hydrolysis, the imine magnesium salt is converted into a ketone.
Thus, the nitrile group is converted into a phenyl ketone, while the ether group remains unchanged.
Therefore, the major product is the structure containing the group
with the group unchanged.
Hence, the correct answer is Option (D).
Tagged Ethers. Machine-assigned, so read it as a strong shortlist rather than a verdict.