Answer:
From 10 to 20 meters.
Explanation:
1) If the sparrow has a parabolic trajectory then it must be actually:

2) If the eagle is at 20 meters high, then we write:

Since the exact x coordinate was not given.
But since it wants to get the sparrow
3) If we expand the equation we have:

Since the maximum point is equal to 10. The distance where the sparrow is flying ranges from 10 to 20 meters to the eagles spot.
![10\leq d \leq20 \:or \:[10,20]](https://img.qammunity.org/2021/formulas/mathematics/middle-school/t9wshbz8deifjlgj2g8nz66zvv1qecv6ik.png)
4) Since the x coordinate was not given then we can neither precisely calculate the distance where A is nor where B is located.