Kellanova Interview Question

Was given a mathematical question