If the cost 1 pencil is ₹3 then cost of 4 pencils is ₹15.
If the cost of 1 pencil is Rs. x , then the cost of 10 pencils is