5.5 A. additions count: $n$. multiplications count: $degree * 2$. B. xpwr = x * xpwr require a floating-point multiplication.