To know which is the best option we have to divide the price on each case by the number of corresponding rolls.
$5.99 / 8 rolls = $0.75 / roll
$16.99 / 24 rolls = $0.71 / roll
As we can see the second offer is the best because the value of each roll is lower.