Can someone please tell me why this works? (It works in general apparently.)

Let's factor

Take the leading coefficient (12) and multiply it into the constant and rewrite this as

Now factor it:

Now divide both of the constants by that same 12 as before:

Now multiply the whole thing by that same 12:

which is the factored form of the original problem.

I can't figure out why this works???!!

-Dan