Answer:

Step-by-step explanation:
Spring Force
When a spring is compressed by a distance x, it exerts a force given by the law of Hooke:

Where k is the constant of the spring. If we know this force and the mass m of the object launched by the spring, we can compute its acceleration by using Newton's formula


Replacing the formula for the spring

The values are

Thus


The toy rocket will have an acceleration of

Note: If the launch would have been vertical, then the acceleration of gravity should have been used in the calculations