Paragraph for Questions 12 to 14
Two aliphatic aldehydes P and Q react in the presence of aqueous to give compound R, which upon treatment with HCN provides compound S. On acidification and heating, S gives the product shown below:
Passage
Paragraph for Questions 12 to 14
Two aliphatic aldehydes P and Q react in the presence of aqueous to give compound R, which upon treatment with HCN provides compound S. On acidification and heating, S gives the product shown below:

The compounds P and Q respectively are
Official answer: B
Work back from the product. Pantolactone, lactonised, comes from the cyanohydrin of (hydrolysis of CN to COOH, then ring closure with the primary OH).
That aldehyde is the crossed aldol of 2-methylpropanal (the only α-H source, giving the quaternary carbon) with formaldehyde (which supplies the ):
(B) 2-methylpropanal and methanal