Doubt from carbene

IMG_20191105_102904
What is the product formed
Explain through mechanism

I've seen this in Solomon fhryle by MSC sir. I'll upload I the mechanism is given.

Please upload or give solution