1. Given the diagram below, determine the number of pathways starting from A and moving to B along the gridlines if a pathway must always move closer to B.

2. Given the diagram below, determine the number of pathways starting from A and moving to B along the gridlines if a pathway must always move closer to B.

Please help me with these questions I do not know how to do it.