## Elementary and Intermediate Algebra: Concepts & Applications (6th Edition)

We know: $$(a+b)(a-b)=a^2-b^2$$ Thus, in both cases, we are using the fact that we can cancel out the $ab$ component above (which varies based on the situation) in order to simplify the expression.