Newbie requires help with coding!

Thanks for the work you put in. I may have asked the wrong question though. What if I want to check whether or not the factored form (x+3)(x-4) is correct using what you suggested:

“Just sugestion. I like flexibility when giving equations. To make it general, solve it using quadratic formula and then ask if student’s factors match. If you want ansvers in radical form use discriminant in latex as radicand.
This algorithm works for any equation and you can create different assignments.”