2. (12%) A spring with spring constant k is at the top of a frictionless incline of angle

as
shown. The lower end of the incline is distance D from the end of the spring, which is at its
relaxed length. A block of mass m is pushed against the spring until the spring is compressed
l
and released from rest.
(a) What is the speed of the block at the instant the spring returns
to its relaxed length (which is when the block loses contact with the spring)?