<prompt> Translate the following text to SwahiliFigure 2 displays the total cost curves as functions of pieces per capita for each of the countries in the sample.  <response>: Picha ya pili inaonyesha jumla ya gharama curves kama kazi ya vipande kwa kila mtu kwa kila nchi katika sampuli. 