Say child has to take n steps.
At every step the child has 3 options, to take 1 step, 2 step or 3 steps.
So if child take 1 step then find the number of ways to complete n-1 steps +1.
Similarly if child take 2 steps then find the number of ways to complete n-2 steps +1.
If child take 3 step then find the number of ways to complete n-3 steps +1.
So total number of ways to complete n steps = No of ways to complete (n-1)steps + No of ways to complete (n-2)steps + No of ways to complete (n-3)steps +1.