A plane flew 1,000 miles away from London for one flight.For the next flight,it flew 500 miles toward London. How far was the plane from London after the second flight?