Each pencil in the supply store costs $0.12. Which equation represents the relationship between the total number of pencils purchased, p, and the total cost,

c = 0.12p
c = p + 0.12
p = 0.12c
p = c + 0.12