Alyssa bought a soft drink of four dollars and seven candy bars. She spent a total of 39 dollars. How much did each candy bar cost?