Theory:

In this multiplication, we have to multiply each of the terms in the first polynomial by each of the terms in the second polynomial.
Important!
First, we should look for like terms, if any, and combine them before starting multiplication of polynomial by a polynomial.
Example:
Consider a trinomial \(a+b-c\) and a polynomial \(2a-3b+5c\).
 
Let us multiply the trinomial \(a+b-c\) by a polynomial \(2a-3b+5c\).
 
Note we have to multiply each of the terms in the first polynomial \(a+b-c\) by each of the terms in the second polynomial \(2a-3b+5c\).
 
a+bc×2a3b+5c
 
=a×2a+a×3b+a×5c+b×2a+b×3b+b×5c+c×2a+c×3b+c×5c
 
=2a23ab+5ac+2ab3b2+5bc2ac+3bc5c2
 
=2a23b25c2ab+8bc+3ac.