help on homwork Which sentence is correctly punctuated?

"Give me that book now," he said. Punching the air with his fist.

"Give me that book now," he said punching the air with his fist.

"Give me that book now," he said, punching the air with his fist.

"Give me that book now" he said, punching the air with his fist.