Analysing the situations in Libya and Syria