Kim purchased white vases, red vases, and flowers to create center pieces for an event. The flowers cost a total of $397 and each vase cost $9. If w and r represent the number of white and red vases purchased, respectively, which of the following expressions represents the
total cost of the centerpieces?
1. 9w+9r+397
2. 9(w+r+397)
3. 9(w+r)+397
4. 9w+r+397
A. 1 and 3 only
B. 2 and 4 only
C. 1 only
D. 1, 2, and 3 only