Don't blow out the candle - there is a lever on the other side to open both cells.
You can choose whom you want to help => the king wanting to conquer or the other one wanting to protect his country. Makes no difference. After you have chosen shield or sword, the door will open to the room where a succubus is prisoned. You can free her (white button on the wall) or not. Then you come into the room with the lever I told you.

Monsters => they are weak, you can kill them or sneak past them - or wait until one has killed the other.

Regardless what you do => no impact on XP.