The cyclization of this product in acidic medium gives
The reaction undergoes by the loss of water molecule