Economic efficiency implies an economic state in which every resource is optimally allocated to serve each individual in the best way while minimizing waste and inefficiency.
Product A is a variable cost because variable cost(inputs) increases(decreases) with increase (decrease) units(output).
Whereas for product B;
Though, fixed cost is fixed across all units of output but as the total output increases, the average fixed cost decreases because the same amount of fixed costs now cover a larger number of output produced.