That looks like it came straight out of a book so tidy and clear.
Can you shed some light on the way you tackle a challenge like this?