cost of a pen = 95 cents = $0.95 ---------------------------->statement (1)
cos of a dozen of pen i.e. 12 pens = $9.95 ----------------> statement (2)
Now, Looking at statement (2)
when you buy a dozen of pen, it costs (12 / 9.95) = 1.206.....9 for each pen
Since, 1.206.....9 is greater than 0.95, the lowest price for which you can buy a pen is $0.95.
Now,
1 pen costs $0.95
40 pen costs ($0.95 * 40) = $38
So, the least possible cost in a dollars of 40 pens is $38.