Break chains before you start matching. This also applies to the corners. Breaking the chains before everything gets jumbled might make it easier. Chained pieces will remain in the same positions until the chains are completely broken. Line up magic runes to complete the level automatically. You must do this five times to get the "Princess" citizen.