
Answer:
9 in Aynor and 31 in Spartanburg
Explanation:
we need to build the following:
  A        B      C
      units   COST
Aynor      9      =93 + 80*B2 + POWER(B2;2)*7
Spartanburg 31 Â Â Â Â Â =147 + 20*B2 + POWER(B2;2)*3
       =b2 + b3  = c2 + c3
We stablish that we want to minimize c3
changing cell b2 and b3
with the restriction that must be integer solution and b4 should equal 40