Ответ:

1. Expand the square: (B-4)(B-4)
2. Apply distributive property: B*B + B*(-4) + (-4)*B + (-4)*(-4)
3. Simplify: B^2 - 8B + 16