How does the value and direction of the restoring force change as the spring constant or displacement is changed?