The rate of change in cost is constant with number of pencils. 
To check if the rate of change is constant;
1 pencil = $0.25
This means ; 
cost = 0.25 × number of pencils 
Let's check;
For 4 pencils ;
cost = 0.25 × 4 = 1 
For 7 pencils :
cost = 0.25 × 7 = 1.75
For 12 pencils : 
cost = 0.25 × 12 = 3 
Hence, rate of change in cost is constant.