It look like both A & B are both correct usage of commas
Ones upon a time, in my math exem I could't solve a really hard task.
Luckelly I had a smart watch and before the exem I took some photo about the math formulas, what I should learn. I turned on my watch and I started to see what formula I needed, suddely my benchmate stand up, and unfortunatally the teacher cought me, the worst of all was that she said that I have to leave the exem, before I can finish it.
I don't remember two-bit getting mad at ponyboy, but it was probably when he showed up late because he fell asleep at the lot with johnny.
Check the attached files for the answer to the following questions.