CarMax interview question

2 case problems, more like middle school algebra problems.