Answer: If you complete 5 lines of the book per day and your friend completes 30 lines of the book per day, your friend will complete the book before you do
Step-by-step explanation: To figure out how long it will take for each of you to complete the book, you can divide the number of lines you each have left to complete by your daily rate of progress.
For you, it will take 4200 lines / 5 lines/day = 840 days to complete the book.
For your friend, it will take 9000 lines / 30 lines/day = 300 days to complete the book.
Thus, your friend will finish the book in 300 days, while it will take you 840 days to finish.