BairesDev interview question

I had a math test during the interview