Please help me with my math problem 25 points for the step-by-step explanation.

A store sells small notebooks for $8 and large notebooks for $10. If you buy 6 notebooks and spend $56, how many of each size notebook did you buy?