2024 SSMO Relay Round 4 Problems/Problem 1

Problem

Freddy the Frog can jump $1$ unit right or up. He is at $(1,1)$ and wants to get to $(7, 4)$. However, he is scared of points $(3, 1)$ and $(3, 2)$ and will not hop onto those points. How many ways can he reach his destination?

Solution