color(blue)("Assumption: you wish to multiply out the brackets")Assumption: you wish to multiply out the brackets
Write as color(blue)( (x-3) )color(green)((x-3))(x−3)(x−3)
Multiply every thing in the right hand brackets by every thing in the left. This is a slight variation on something called FOIL. Really it is the same thing but in disguise.
color(green)(color(blue)(x)(x-3) color(white)("dddd")color(blue)(-3)(x-3)) color(white)("ddd")larr" The minus follows the 3"x(x−3)dddd−3(x−3)ddd← The minus follows the 3
color(green)(x^2-3xcolor(white)("ddddd")-3x+9)x2−3xddddd−3x+9
color(green)( x^2-6x+9 )x2−6x+9