To hit a 40 yard bunker shot, use an 8 iron. Dig your feet slightly into the sand and make sure your weight is distributed 60% on your left side and your feet are slightly open. Open the club face slightly. Try to hit 2 inches behind the ball. And be confident in your swing.