Tanner is going to purchase some writing instruments at the school store, where mechanical pencils cost $2 and pens cost $4. He can spend up to $8, but not more.

Write the inequality in standard form that describes this situation. Use the given numbers and the following variables.
x = the number of mechanical pencils Tanner will buy
y = the number of pens Tanner will buy

The cost of x mechanical pencils is 2x.

The cost of y pens is 4y.
The total cost must be less than or equal to $8, so we can write the inequality as:

2x + 4y ≤ 8