2(-3)^2+5(-3^2-(-5))
$$\\2(-3)^2+5(-3^2-(-5))\\
=2*(-3)^2+5*(-3^2--5)\\
=2*(-3)^2+5*(-3^2+5)\\
=2*(-3)^2+5*(-\textcolor[rgb]{1,0,0}{1*}3^2+5)\\
=2*(-3)^2+5*(-\textcolor[rgb]{1,0,0}{1*}9+5)\\
=2*(-3)^2+5*(-9+5)\\
=2*(-3)^2+5*(-4)\\
=2*(-3*-3)+5*(-4)\\
=2*(9)+5*(-4)\\
=18+-20\\
=-2
\textcolor[rgb]{1,0,0}{ }$$
check
$${\mathtt{2}}{\mathtt{\,\times\,}}{\left(-{\mathtt{3}}\right)}^{{\mathtt{2}}}{\mathtt{\,\small\textbf+\,}}{\mathtt{5}}{\mathtt{\,\times\,}}\left({\mathtt{\,-\,}}{{\mathtt{3}}}^{{\mathtt{2}}}{\mathtt{\,\small\textbf+\,}}\left({\mathtt{5}}\right)\right) = -{\mathtt{2}}$$
2(-3)^2+5(-3^2-(-5))
$$\\2(-3)^2+5(-3^2-(-5))\\
=2*(-3)^2+5*(-3^2--5)\\
=2*(-3)^2+5*(-3^2+5)\\
=2*(-3)^2+5*(-\textcolor[rgb]{1,0,0}{1*}3^2+5)\\
=2*(-3)^2+5*(-\textcolor[rgb]{1,0,0}{1*}9+5)\\
=2*(-3)^2+5*(-9+5)\\
=2*(-3)^2+5*(-4)\\
=2*(-3*-3)+5*(-4)\\
=2*(9)+5*(-4)\\
=18+-20\\
=-2
\textcolor[rgb]{1,0,0}{ }$$
check
$${\mathtt{2}}{\mathtt{\,\times\,}}{\left(-{\mathtt{3}}\right)}^{{\mathtt{2}}}{\mathtt{\,\small\textbf+\,}}{\mathtt{5}}{\mathtt{\,\times\,}}\left({\mathtt{\,-\,}}{{\mathtt{3}}}^{{\mathtt{2}}}{\mathtt{\,\small\textbf+\,}}\left({\mathtt{5}}\right)\right) = -{\mathtt{2}}$$