IXL Learning Interview Question

There is a brain teaser at the end