He used 7 pints all together because there at 2 cups in each pint and 4 pints in a half a gallon.
<span>64-40ab
=8(8-5ab)
....................................</span>
5n=30+3n You need to exclude the 4 due to for the first 4GB cost $30 then $3 for each additional GB used