How to solve IBO 2012 problems? Part II.

Let’s continue with past problems of IBO 2012 Part A.