On the first day, Luis read half of the book. on the second day, he read 3/8 more and 40 pages remain. How many pages were their in the book?