From the meaning of the title, 20x+30 (1000-x) = 26,000, and x=400, so A is 400 and B is 600;
(2) If 20x+30 (1000-x) is less than or equal to 28,000, and x is greater than or equal to 200, then Type B can purchase at most 800 pieces.