Let they be x.
Cost of textbooks + laptops cant greater than total amount.
(cost of 1 textbooks * number of textbooks) + (cost of 1 laptop * number of laptops ≤ 6500
(30*116) + (x*439) ≤ 6500
3480 + 439x ≤ 6500
439x ≤ 3020
x ≤ 6.8(approx)
Last natural number is 6, says, they can buy 6 laptops at max.