Reno-Depot interview question

a math problem that I had to solve