Rewards Network interview question

math test not easy