Scaffolding Middle-School Mathematics Curricula With Large Language Models