The most logical cause and effect or input and output relationship would be the number of pages in the assignment.
Thus depending on the number of pages present in a book, and assuming the person reads at an average rate, the number of pages and the rate allows us to determine the time taken.