Answer:
The correct option is D.
Explanation:
It is given that x is directly proportional to f(x) and constant of variation is k.


Therefore k is the slope.
Slope formula is

From the table the two points are (0,0) and (3,6).

Therefore the value of constant of variation is 2 and option D is correct.