A small block with a mass of 100 g is released from a height of 5 m as shown in the figure. The block follows a curved path, transitions to a linear horizontal path, and hits the spring fixed to a wedge. If no friction is involved and the spring constant is 1000 N/m, find the maximum compression of the spring:
(a) 0.1 m
(b) 0.2 m
(c) 3.1 m
(d) 9.8 m