A student wishes to walk from the corner X to the corner Y through streets as given in the street map as shown below.
He does not move to the left or downwards.
(i) Find the number of different routes from X to Y the student can take.
(ii) The student wishes to visit P on his way from X to Y as indicated in the diagram below. Find the number of different routes he can take.

