For this case, the first thing we must do is define variables.
We have then:
x: number of packs of 4
y: number of notebooks
The equation modeling the problem is given by:

Three packs of notebooks are sold.
Therefore, for x = 3 we have:

As the number of notebooks are 28, then the remaining amount is:

Answer:
There are 16 notebooks left