Data:
2 of 3 students prefer the company's pencils to their competitor's pencils
high school with 1479 students
Part 1:
You have 1479 students in total and know that 2 of 3 students prefer the company's pencils, then you multiply the toatl number of students by the factor 2/3

Then, 986 students in the high school prefer the company's pencils
Part 2:
Of 3 students 1 prefer the pencils of the company's competitorPart 3:
Substract the number of students that prefer the company's pencils from the total of students:

Then, 493 students in the high school prefer the pencils of the company's competitorPart 4:
Substract the number of students who prefer the competitor's pencils fom the students that prefer the company's pencils:

Then, in the high school there are 493 students more that prefer the company's pencils than students who prefer their competitor's pencils