Doubt from conversion of reaction

option c doubt
@Shaquib sir , @Shwetanshu_2018 bro please share mechanism of rexn..

First reaction is acid base reaction.
Then distillation of Ca salts reaction(preparation of ketones)
If anything wrong pls say me

General mechanisim

For this question