(Using Blender 3.6.8)
The proposed approach is:
- To trim the curve to make its length proportional to the user-defined spacing (dark red part of the GN graph).
- To spawn on points instances picked in a collection, as many times as required (dark green part of the GN graph).
- To spawn on the last point a specific instance (dark blue part of the GN graph).