Housecall Pro interview question

how to solve case study