To simplify the expression, distribute 3ab to each term inside the parentheses:
\( 3ab \cdot 4a^3b = 12a^{1+3}b^{1+1} = 12a^4b^2 \)
\( 3ab \cdot (-2ab^2) = -6a^{1+1}b^{1+2} = -6a^2b^3 \)
\( 3ab \cdot a^2b = 3a^{1+2}b^{1+1} = 3a^3b^2 \)
Combining these terms, we get:
\( 12a^4b^2 - 6a^2b^3 + 3a^3b^2 \)
Ответ: 12a⁴b² - 6a²b³ + 3a³b².