Thank you very much, Martin and @thehomme.
Honestly, I’m still stuck and not able to clearly figure this out. I’m having trouble understanding the correct approach here. Could someone please point out what I’m doing wrong and what I should be doing instead?
I would truly appreciate the help—I’m struggling to see the solution right now.
here what i tried
separated

Joined

