Calculate producer surplus as a function of market price (P). In other words, the only variable in your answer should be market price P.
a) P/2
b) 2P
c) P²
d) 4P