How do I map this result?

This isn’t an exam question or anything, I’m working on a personal project but having real brain fog on this problem. I’m hoping to get some help from the community ๐Ÿ™‚ I have an array… const result1 …