Step by step

Refer to solution one in https://docs.google.com/document/d/1zDs_u75f-T4AGe6qk5GcFJj-zRBcamz-jPFSQpHunrU/edit