In the grid shown below, you are only allowed to move to the right or upward along the black lines. How many paths are there from point X to point Y?
What about on an n×n grid? (The original grid is 4×4 and a 5×5 grid is shown below.)