Tom bought a soft drink for four dollars and seven candy bars. He spent a total of thirty- nine dollars. How much did each candy bar cost