Eric has already ran 5 miles and is counting to run at a pace of 1 mile per hour. Jess has only run 2 miles and is counting to run a pace of 2 miles per hour. In how many hours will they have ran the same number on miles?