Two quantities are proportional if the ratio between those quantities is always the same.
Find the ratio of price/number of books for each row in the table:

We can see that the ratio price:books is 3 if the number of books is 1, 3 or 4 but it is a different ratio when the number of books is 7.
Therefore, the price is not proportional to the number of books.
Sidenote:
If the number of books on the last row was 6 instead of 7, then the ratio would still be 3 and the price would be in fact proportional. Make sure that it is not a printing error of the problem sheet.