Mary bought a soft drink for three dollars and seven candy bars she spent a total of $30 how much did each candy bar cost?