Biz2Credit interview question

reasoning and calculation based