Avascent interview question

Simple mental math during a case