CVS Health Interview Question

need to know some math