Thomas has finished 50% of an art project that has taken him a total of 9 hours so far. If he continues to work at the same rate, how many hours will it take for him to complete the entire project?