Answer: D
Intramolecular Fischer esterification: the OH at C-5 attacks the protonated carboxyl carbon. The ring contains O, C5, C4, C3, C2 and C1 i.e. six atoms, giving the delta-lactone oxan-2-one (loss of water). Oxolan-2-one would come from the 4-hydroxy acid.