ANSWER
2.5 m/s
EXPLANATION
The average speed of an object is,

Where Δx is the total distance traveled and Δt is the total time taken.
In this case, we know that the ball traveled 20 m in the east direction for 7 seconds and then traveled back 15 m in the west direction in the same time. So, the average speed of the ball is,

Hence, the average speed of the ball is 2.5 m/s.