David has already written 16 pages, and he expects to write 0.5 pages for every additional hour spent writing. How many hours will David have to spend writing this week in order to have written a total of 24 pages?