Sandy bought a soft drink for 3 dollars and 6 candy bars.bars. She spent a total of 21 dollars. How much did each candy bar cost?