I've began practicing factoring expressions of the form $Ax^2+Bx+C$. One method I've learned is decomposition where B can be split into two terms say, D and E where DE=AC. which results in $Ax^2+Dx+Ex+C$. The $Ax^2+Dx$ and $Ex+C$ are then factored, leaving a common factor which with further factorizing, leads to having the original expression factorized.
How might this method be derived? What line of reasoning led to it? I'm really trying to get a more intuitive understanding of why this method works but don't have much algebra knowledge beyond high school.