The problem statement is telling you Myra's speed at different points in her journey. First she is walking, then running, then stopped, then walking again. This suggests Myra's speed is the dependent variable. Often, problems involving speed or position use time as the independent variable. Here, that is suggested by the description, "... after a few minutes of walking, ...".
Myra's speed changes at the place where the spider web was, and again at the place where she met her friend (and when she reached school). Hence the independent variable could be position (distance), rather than time.