a math problem of box