The correct option is B 10
Let the number Barun thinks of is x
He adds 40 to it and gets x+40.
Then, he divides the whole thing by 5 and gets x+405 which is equal to the number he thought of
⇒ x+405=x⇒x+40=5×x⇒ 40=5x−x⇒ 40=4x⇒ 4x=40⇒ x=404⇒ x=10
So, the number Barun thought is 10.