Answer
When there are negative externalities, equilibrium output is more than the efficient output, as the good is overproduced, and too many resources are diverted to producing the good which results in negative third party effects. Thus, the divergence is between marginal social benefit/cost and marginal private benefit/cost, where social benefit/cost is lesser (leftward in relation to) the private benefit.
When there are positive externalities, equilibrium output is less than the efficient output, as the good is underproduced, and too few resources are diverted to producing the good which results in positive third party effects. Thus, the divergence is between marginal social benefit/cost and marginal private benefit/cost, where social benefit/cost is more (rightward in relation to) the private benefit.
Work Step by Step
An example of negative externalities is cigarettes, that might cause the health of non-smokers or producers of cigarettes to decrease, and thus there are third party costs.
An example of positive externalities is vaccines, that would cause the probability transmission of disease to other non-vaccinated members to decrease. Thus there are third party benefits.