Two runners ran as a team in a 5,000-m relay race. the first runner ran 500 m farther than the second runner. how many meters did each run?