Two cars leave the same parking lot, with one heading north and the other heading east. After several minutes, the eastbound car has traveled 6 kilometers. If the two cars are now a straight-line distance of 10 kilometers apart, how far has the northbound car traveled?