In first 1 s, monkey climbs 5 meters,
In second 1 s, it slips down 3 meters.
So it climbs 2 meters every 2 s, except the last second. In the last second, it would cover all 5 meters and escape.
So keeping 1 s aside for last 5 meters.
Total distance to be covered is 15m, in which we subtract the last 5 m for the last climb.
So, to cover 10 m:
Time required=10/2 * 2 = 10 s
Adding that last 1 s, it takes 11 seconds.