A Canarian, Icelandic, Mauritian, Norwegian, Slovenian and a Swedish person was stuck in Puzzlers Islands after a shipwreck. They met the Islands Puzzle Master who told them to do a task. If they didn't manage to get it right on the first try they'll be stuck forever with their life at risk. If they instead got it right they would be sent home to their respective countries immediately.
Here's what the Puzzle Master told them:
Create two lines where each line consist of three people standing side by side. One line should be unpleasant, the other line should be pleasant. They should be quite the opposite.
Hold hands where it's necessary. Don't hold hands where it's not.
Here's an illustration/example of what he meant by lines:
How did they arrange themselves? Which people held hands? Explain why.