Three students were participating in a school''s fundraiser. The first student sold 2 candy bars, 7 pies, and 3 cookie dough. The second student sold 10 candy bars, 2 pies, and 2 cookie dough. The third student sold 1 candy bar, 4 pies, and 5 cookie dough. Write the equations and solve for the amount of each item.