Epos Now Interview Question

How would you fix this?