$$\frac{24a^{2}b+16abc}{8}$$
Factor 8ab out of 24a2b+16abc.$$\frac{8ab\left(3a+2c\right)}{8}$$
Cancel the common factor of 8.$$ab\left(3a+2c\right)$$
Apply the distributive property.$$ab\left(3a\right)+ab\left(2c\right)$$
Multiply a by a by adding the exponents.$$3aba+2abc$$
$$3a^{2}b+2abc$$