As Marta built a square fence around her garden, she wondered how much she would have to pay if she increased the length of each side of the fence by the same number of meters. Each meter of fence cost 3 dollars. Which of the following functions best describes the additional amount of money Marta will have to spend, in dollars, if she increases each side of the fence by m meters?

A. f(m) = 1.5m

B. f(m) = 3m

C. f(m) = 6m

D. f(m) = 12m