From the information available, some magazines (m) and some notepads (n) were bought.
If you bought a magazine for $7, then mathematically that would be;
Also, if you bought some notepads for $5 each, that would be expressed as;
This represents 5 dollars times every given number of notepads, hence we would have;
Note that one magazine was bought which is why we have m = 7. We shall now substitute for thw value of m;
The value of n = 4
ANSWER:
This means you bought 4 notepads