Nonlinear spring

A weight of mass  kg is attached to a nonlinear spring and moves horizontally in a track. The force exerted by the spring is $F_{\text{spring}} = -$$x|x|$ N. Here $x$ is the extension of the spring measured in meters. There is a frictional force in the opposite direction of the velocity of the weight, $F_{fric}= -0.3\frac{dx}{dt}$ N.

At time $t=0$ s:  $x=0$  m, $\frac{dx}{dt}=2$ m/s.

Where is the mass at time $t=$ s?

$x = $ [m]

Because the differential equation that describes the motion of the wieght is a nonlinear differential equation, the solution must be found numerically.