Jack decides to grow and sell bean plants. Let P represent the number of plants he will grow and sell. After considering his expenses, the expression -3p(p-10)-6p(p-10) represents his profit.

a. Rewrite and simplify the profit expression by factoring out the greatest common factor.

b. Rewrite the expression in simplest form with no parentheses.​