Chemiosmosis produces about 28 ATP, but none of those are produced by substrate-level phosphorylation. That's a total of 6 ATP, per staring glucose, that are produced by substrate-level phosphorylation. For 5 molecules of glucose, the answer should be 30 ATP.
I hope this helps