Nagarro interview question

maths, geometry, reasoning