Richard can make 8 dough balls in two hours. If the amount of time is directly proportional to the number of dough balls, how many hours have passed if he made 18 dough balls?