.
1. I can solve (practically) any school Physics problem, as soon as it is formulated reasonably, accurately, professionally and correctly.
2. I have a great practice of solving such problems. (having solved hundreds, if not thousands, of them)
3. I never saw a professionally formulated physics problem longer than 5 lines of the standard text.
4. I am absolutely sure that any formulation of a Physics problem longer than 5 lines is a) unreasonable; b) unprofessional and c) incorrect.
5. In the given concrete case, the problem says that the period is 2 seconds and friction is absent, so we have harmonic oscillations.
6. From the other side, the condition says that after 10 seconds (5 periods (!)) the spring sat 533 cm, while it must be 550 cm.
7. So, the condition is self-contradictory.
8. It shows, demonstrates, displays, highlights and confirms that the condition is a) nonsensical; b) unprofessional and c) incorrect.
9. It is not my duty in this forum to explain every author where he (or she) is wrong.
// In opposite, it is the visitor's duty to provide the correct input.
10. It is why I didn't touch this problem.
---------------
In my text, do not consider this "figure of speech" "5 lines" as a world universal constant.
It might be 6 or 7 lines, but not more than 10 lines.
11 lines is just far above any reasonable limit.