Ques 8 Maths & Number theory quiz

Can you please explain this ques?