[tex]\begin{gathered} x=\text{ number of pencil she has} \\ 7x=\text{number of pencil she needs for the end of the year test} \\ 20=\text{number of pencil she gave to Mr. T} \\ x+7x-20 \\ 8x-20 \\ \text{The expression for the situation is }8x-20 \end{gathered}[/tex]