Answer: A
The Reformatsky reaction gives P, ethyl 2-(1-hydroxycyclohexyl)ethanoate. Saponification with NaOH converts the ester to the carboxylate. Cold dilute acid protonates it without dehydrating the tertiary alcohol, so Q is HOOCCHX2−C(OH)(CHX2)X5.