This question was asked in Ex 1.1, 10
How many steps the monkey takes explain it on number line

Husaina Shaikh's image