The reagents and conditions (X) required for the following conversion
Find the compounds P and Q in the following reactions: