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.

Attachment 17006

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.

Attachment 17007

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