Let \( n \) represent the number of notebooks Alex bought. The cost of the notebooks is \( 4n \) dollars, and the supply fee is $5. The total cost is given as $29.
We can set up the equation as follows:
\[ 4n + 5 = 29 \]
To solve for \( n \), first subtract 5 from both sides:
\[ 4n = 29 - 5 \] \[ 4n = 24 \]
Now, divide both sides by 4:
\[ n = \frac{24}{4} \] \[ n = 6 \]
Thus, Alex bought 6 notebooks.