Answer:
The firm should decrease output, because the market price is $5, which is lower than the marginal cost of producing one more unit of output: $6.
However, the average total cost of producing output in this market is $4, so the firm should only produce up to the point where this cost is still $4, so that it can make a profit of $1 in the market.