Eliot and William go running. Eliot ran for 8 mile, and William ran for 12 mile. Eliot finihed hi run in 40 fewer minute than William. If they run at the ame peed, for how long did William run?