Answer: the number of social media advertisements that you purchased is 18
The number of newspaper advertisements that you purchased is 6
Step-by-step explanation:
Let x represent the number of social media advertisements that you purchased.
Let y represent the number of newspaper advertisements that you purchased.
You purchase three social media advertisements for every one newspaper advertisement. This means that
y = x/3
x = 3y
You end up purchasing a total of 24 advertisements. This means that
x + y = 24 - - - - - - - - - 1
Substituting y = into equation 1, it becomes
3y + y = 24
4y = 24
y = 24/4 = 6
x = 3y = 6×3 = 18
The equations are
x = 3y
x + y = 24