If a term is neither a variable nor an atom nor a number, then it has to be a complex term.
Solution
Back to the exercise.