Tim has read ​80% of a book. He has 8 more pages to finish. How many pages are there in the​ book?

so, 20% is 8 pages

0.20x = 8
x = 40