Joan bought a soft drink for 4 dollars and 9 candy bars. She spent
a total of 40 dollars. How much did each candy bar cost?