Refer to the above diagram. Assuming equilibrium price P1 producer surplus is represented by areas:

c + d.