For this case we propose the following variables:
x: Let the variable that represents the full-page ads
y: Let the variable that represents the half-page ads
a: Let the variable that represents the number of articles
If the magazine consists of 120 pages in total we have:

According to the statement we have:

We clear the value of the variable a:

Thus, 80 pages of the magazine are articles.
Answer:
