Since the x axis represents the number of pen bought and the y axis the number of notebook, the total cost will be 2x+3y, because each pen costs 2$ and each notebook 3$.
You want this quantity to be no more than 30, so you must ask

which means that the shaded area must be under the graph of the line

You can rewrite the equation as

So, the y intercept is the point

So the answer must be either C or D.
To find the x intercept, set y=0:

So, the correct answer is D.