Cat 2008 Question-Can anyone explain?

Can anyone explain the formula applied to get no. of routes?

Can anyone explain the formula applied to get no. of routes?