It says that the force of a spring is always opposite to the direction in which you stretch it or compress it. (the direction of 'x')
In other words, a spring that's disturbed always tries to put itself back to it's normal length, where x would be zero.