How to get rid of brackets in mathematical algebraic expressions? How to change symbols? For example: - (A5 [power] - 6B) - (7 + 3b)

How to get rid of brackets in mathematical algebraic expressions? How to change symbols? For example: - (A5 [power] - 6B) - (7 + 3b)

Rule of removing brackets:
1. There is a "+" sign in front of the bracket. Remove the bracket and the "+" sign in front of it, and the symbols of each item in the bracket will not change
2. There is a sign before the bracket. Remove the bracket and the sign before it, and the symbols in the bracket should be changed
For example: - (A5 [power] - 6B) - (7 + 3b)
=-a^5+6b-7-3b