Let's call x to the number of hours
She writes 3 pages per hour, then after x hours she writes 3x pages
She already wrote 1 page and wants to write a total of 49, so she has to write 49 - 1 = 48 pages.
Then, the equation is:
3x = 48
x = 48/3
x = 16 hours