When letters appear in middle-school maths, the first wall children hit is notation. 3 × x is written 3x, x × 3 is also written 3x, and 1 × x is just x. Without getting used to these conventions, children can mistake 3x for 3 + x. If x = 5, then 3x is 15 while 3 + x is 8. Substituting actual numbers is the fastest way to understand letters.

The result of putting a number in place of the letter is called the value of the expression. When x = −2, the value of 3x + 1 is 3 × (−2) + 1 = −5. Leaving out the brackets when substituting a negative number easily leads to sign errors, so insist on brackets at first.

Like terms have the same letter raised to the same power. 2x and 5x are like terms and combine into 7x, but 2x and 5 are not, so 2x + 5 cannot be simplified further. You can say 2 apples and 5 apples make 7 apples, but you cannot call 2 apples and 5 oranges "7" of anything.

2 × 2x2 × 32x322(2x + 3) = 4x + 6
Split the width in two and 2(2x + 3) = 2 × 2x + 2 × 3 becomes visible

Expressions with brackets are expanded with the distributive law. In 2(2x + 3), the 2 must multiply both the 2x and the 3. The most common mistake is to multiply only the first term and write 4x + 3. Thinking of a rectangle's area makes the reason clear. A rectangle 2 high and 2x + 3 wide splits into two parts, and its area is the sum of their areas, 4x + 6.

This lab has three screens: value of an expression, like terms, and the distributive law. On the first, you change x and see the value of the expression as bars. On the second, you set the coefficients of x and the added numbers in two expressions and gather like terms. On the third, you choose the multiplier and the expression in brackets, the area splits into two parts, and the show button lets you check the expanded expression.