a: \(\left(-5\right)\cdot\left(-5\right)\cdot\left(-5\right)\cdot\left(-5\right)\cdot\left(-5\right)=\left(-5\right)^5\)
b: \(\left(-2\right)\cdot\left(-2\right)\cdot\left(-2\right)\cdot\left(-3\right)\cdot\left(-3\right)\cdot\left(+3\right)=\left(-2\right)^3\cdot3^3\)