2. A dog from point $A$ chased a fox, which was 30 m away from the dog at point $B$. The dog's jump is 2 m, the fox's jump is 1 m. The dog makes 2 jumps, while the fox makes 3 jumps. At what distance from point $A$ will the dog catch the fox?