Are you usually that bad at math, or was it just the exam situation? Why don't you try some sugar pills if you feel you're loosing concentration in an exam, thats what my teacher suggested. I don't know where to get sugar pills though... :( I like sweets.
Although, my teacher also said that...