Exit location of a bullet going through a wall in a hollow mesh

How can I get the exit location of a bullet going through a wall in a hollow mesh?
I draw an image, the pretty dude is the player. A is where the bullet hits the wall.
X is what I’m trying to find.

This might help - YouTube