She must ride her bike at a rate of 8 mile per hour.
In order to find this, we first need to find how much time she has. When we subtract 2:30 from 3:00, we get 30 minutes, this translates to .5 hours. Now, we can divide the miles needed to travel by the rate.
4 miles/.5 hours = 8 mile per hour.