>Your formula looks right to me, but you are right it seems a little too complex for a fourth grader.
They aren't supposed to invent algebra. Just to play out with numbers, try a few and see what they get, using common factors etc. Yes, it's a quadratic equation, but actually a very simple one which can be solved by a little thinking, trial and error, without ever mentioning algebra.