-5m2-6m+27

Factor -1 out of -5m2.

-(5m2)-6m+27

Factor -1 out of -6m.

-(5m2)-(6m)+27

Rewrite 27 as -1(-27).

-(5m2)-(6m)-1(-27)

Factor -1 out of -(5m2)-(6m).

-(5m2+6m)-1(-27)

Factor -1 out of -(5m2+6m)-1(-27).

-(5m2+6m-27)

-(5m2+6m-27)

Factor by grouping.

For a polynomial of the form ax2+bx+c, rewrite the middle term as a sum of two terms whose product is a⋅c=5⋅-27=-135 and whose sum is b=6.

Factor 6 out of 6m.

-(5m2+6(m)-27)

Rewrite 6 as -9 plus 15

-(5m2+(-9+15)m-27)

Apply the distributive property.

-(5m2-9m+15m-27)

-(5m2-9m+15m-27)

Factor out the greatest common factor from each group.

Group the first two terms and the last two terms.

-((5m2-9m)+15m-27)

Factor out the greatest common factor (GCF) from each group.

-(m(5m-9)+3(5m-9))

-(m(5m-9)+3(5m-9))

Factor the polynomial by factoring out the greatest common factor, 5m-9.

-((5m-9)(m+3))

-((5m-9)(m+3))

Remove unnecessary parentheses.

-(5m-9)(m+3)

-(5m-9)(m+3)

Factor -5m^2-6m+27