after the collision, the two block remain stuck together and oscillate back and forth as simple harmonic motion. calculate the maximum compression of the spring.