Xero Interview Question

Explain my thought processes and my reasoning behind it