IXL Learning Interview Question

Problem solving/logic question