Answer:

The mass is moving in the negative x direction
Step-by-step explanation:
In a spring mass system, the position of the mass for every time
is defined by:

The oscillation frequency can be written as:

And, since the period is the reciprocal of the frequency:

Using the previous equations and the data provided by the problem:

Therefore:

Evaluating t=5.31 into the motion equation:

Since the position for t=5.31 is negative, we can conclude that the mass is moving in the negative x direction.