IBM interview question

Basic Maths questions and PI