Noom interview question

Asked about past experience and then two optimization problems