Unbounded Knapsack

Can anyone explain unbounded knapsack and its explanation on this problem :

//