How do I get through the pit?



There are two solutions to this trial.
The first one will get you less points.
The second one is the solution the authors intended.


Hint: Solution #1

Hint: Solution #2