We have the next information
he has $ 25.97
he wants to buy
one canvas that cost $14
and paint pens that cost $3.15 each
x is the number of paint pens
the inequality for this problem will be
[tex]14+3.15x\le25.97[/tex]the equal less than is that we can't buy over this quatity
we need to isolate the x in order to find how many paint pens Hamish can buy
[tex]\begin{gathered} 3.15x\le25.97-14 \\ 3.15x\le11.97 \\ x\le\frac{11.97}{3.15} \\ x\le3.8 \end{gathered}[/tex]Hamish can buy 3 paint pens