Foil method:
FOIL stands for
first-multiply the first term in each set of parenthesis
outer-multiply the outer term in each of the perenthesis
inner- multiply the inner term in each of the parenthesis
last- multiply the last term in each of the parenthesis
(3x+8)(x+1)
(3x*x)=3x^2
(3x*1)=3x
8*x=8x
8*1=8
thus we shall have:
3x^2+3x+8x+8
=3x^2+11x+8
Distributive property:
(3x+8)(x+1)
3x(x+1)+8(x+1)
3x^2+3x+8x+8
=3x^2+11x+8
Both methods are efficient, it all depends with the users preference