Constructing and reading algebraic expressions