How to solve a complex problem via an example