The benefit derived and detriment avoided because of a contravention of a civil penalty provision is the sum of:
(a) the total value of all benefits obtained by one or more persons that are reasonably attributable to the contravention; and
(b) the total value of all detriments avoided by one or more persons that are reasonably attributable to the contravention.