I'm unsure of how to do this homework problem, so if someone could help me out, I'd appreciate it!!!

Suppose you live at the point (7, 44) and you go to school at the point (2, 51). How many shortest paths are there between home and school?

There is a diner at (5, 48) and a pet shop at (3, 50). How many shortest paths are there from home to school that go past both the diner and the pet shop? And how many shortest paths go past neither the diner and the pet shop?

Thank you!