graph nodes: 5  tree nodes: 11
the nodes are p, q, p+q, (p+q)*(p+q), and the final add. the tree repeats p+q three times, 3 nodes each.
