WALK4 - need help

Can someone please share the approach for this problem.