Add punctuation: In other words terrorism puts democracies in a dilemma Can democratic society be defended without resorting to undemocratic methods and thereby undermining the very democracy we are trying to protect
A: In other words, terrorism puts democracies in a dilemma: Can democratic society be defended without resorting to undemocratic methods and thereby undermining the very democracy we are trying to protect?

Add punctuation: Matryoshka magnet different colors
A: Matryoshka magnet, different colors.

Add punctuation: Crowds of people were sitting in the perfect weather on the Terje Vigen quay amongst others also Toril and Leif Hamsun who had just arrived
A:
Crowds of people were sitting in the perfect weather on the Terje Vigen quay, amongst others also Toril and Leif Hamsun, who had just arrived.