Identifying Terms in Linear Expressions