Philips Interview Question

MAths question to check the logic