Yes... to make them one.
a*b and ab are both the product of a and b, and a product is one term. As explained by the textbook you chose.
a*b^2^ is ab^2^, even if b=(x+y). No textbook you're grasping for contains your made-up exception. They all show what I'm rubbing your nose in. You're just full of shit.