Scottish Water Interview Question

How did I tackle a complex problem