A 18 kg box slides 4.0m down the frictionless ramp (30 degrees) shown in the figure , then collides with a spring whose spring constant is 140 N/m. What is the maximum compression of the spring, and at what compression of the spring does the box have its maximum speed?