Let x be the number of pages of advertisements.
Write a proportion from the table:
of a page of advertisment - 5 pages in a magazine
x pages of advertisment - 98 pages in a magazine,
then

Find x:

Answer: 13 whole pages and
of 14th page are advertisments, so 14 pages contain advertisments.