Solve by factoring quadratic equation

1. x² + 7 x = -12

2. m (m -4) =0