Let number of caps =x
charge of one cap =$6
charge of x caps =6x
shipping fee =$25
total budget =$1000
let us make an inequality equation here,
Since amount cannot be greater than 1000 , so
25+6x ≤1000
6x≤975
x≤162.5
rounding off ,
x≤163
So she can buy maximum 163 caps