khan academy is giving me only this explanation but won't go into detail and I cannot understand it for the life of me. how do I know what number to multiply both variables by? what exactly does expanding the parentheses mean? help​

khan academy is giving me only this explanation but wont go into detail and I cannot understand it for the life of me how do I know what number to multiply both class=