Doubt from energy conservation

Is it B?


Applied conservation of energy
And conservation momentum