Jessica bought a soft drink for 2 dollars and 4 candy bars. she spent a total of 18 dollars. how much did each candy bar cost?