Answer: Provided in the explanation segment
Explanation:
In this question, due to the complexity in actually drawing this manually. i have attached an image that shows how this reaction occurs.
The mechanism as can be seen in the question involves an attack of the hydroxide ion which results in the formation of the enolate ion.
From protonation which follows deprotonation, we can see that the molecules give an acyclic di-ketone which is the desrired product.
i hope this solution was helpful.
Cheers i hope this helps!!!