Since Amy lives further away than Ellie, she travels a greater distance than Ellie to reach home. Since they both take the same amount of time to reach home, Amy's speed is greater than Ellie's because as we know speed is distance over time and A my travels a greater distance in the same amount of time as Ellie.
Hope this helped :)