Imagine Learning Interview Question

Did not get this far