eml, every leaf is the constant 1, the variable x, or a numeric literal.neg(x) in your expression counts all 9 nodes of its internal construction, not 1.npm install monogate — then test your expression in Node before submitting.e^(ix) = cos(x) + i·sin(x). Whether the strict grammar reaches i from terminal {1} alone is the open question that unlocks trig.