x2 + bx + c and ax2 + bx + c

could you factor this and explain it.

take a look in your book or online for a proof of the quadratic formula. Its derivation shows how to factor these.