look a the sides they are perpendicular
if you are saying purchasing 3 social media ads and one newspaper ad counts as one purchase then there are:
6 purchases
if you are asking how many of each then:
18 social media ads
6 newspaper ads