Denny's Interview Question

Gave me a math problem to figure out without a calculator