Miriam read a book with an unknown number of pages. The first week, she read five less than 1/3 of the pages. The second week, she read 171 more pages and finished the book. Write an equation that represents the total number of pages in the book.