Help!!

Tommy sells 3 candy bars a day. He sold a total of 180 bars. How many days did he sell the candy bars? the days is unknown. What equation represents this information?

A. 3+x+180
B.x-3+180
C. 180x+3
D. 3x+180

I think the answer is D but i am not sure!