Jessica has already written 10 pages, and she expects to write 1 page for every additional hour spent writing. How many hours will Jessica have to spend writing this week in order to have written a total of 31 pages?