For what value of m does the equation (x + 4)(x + 1) = m + 3x have exactly one real solution?
You are trying to turn it into a perfect square.
x²+5x+4=3x+m
x²+2x+(4-m)=0
This is a perfects square if m = 3.