A pack of 6 pens cost $30. A pack of 8 files cost $24. A student wants to buy an equal number of pens and files. What is the least amount that the student must pay?

$30/6= $5 each pen

$24/8= $3 each file

If the student wants to buy 1 pen and 1 file
$5 + $3
=$8 least amount that the student must pay