A student wants to purchase some new school supplies. He wants to buy a calculator that costs $24 and some notebooks for school. Each notebook costs $2. The student only has $37 to spend.

Let n represent the number of notebooks that he buys.

The cost of the calculator is $24.

The cost of each notebook is $2.
Let n represent the number of notebooks bought.

The total cost of the notebooks will be 2n.
The total amount the student can spend is $37.

Therefore, the total cost of all items bought must be less than or equal to $37:
24 + 2n ≤ 37

Subtract 24 from both sides:
2n ≤ 13

Divide by 2:
n ≤ 6.5

Since n represents the number of notebooks, the student can buy a maximum of 6 notebooks with $37.