Generate grade-appropriate math problems with detailed solutions, focusing on algebra and linear equations.