[3m3 - (1/2)y][3m3 - (1/2)y]
There are a couple of ways to look at this.
You actually have (a-b)(a-b) since the values
in each parenthesis are the same. For that
you can use the formula
(a-b)(a-b) = a2-2ab+b2
In this case a = 3m3 , b = (1/2)y
a2-2ab+b2
= (3m3)2 -2(3m3)(1/2 y) + (1/2 y)2
= (3m3)(3m3) - 2(3)(1/2)m3y + (1/2 y)(1/2 y)
= 9m3+3 - 3m3y + 1/4 y2
= 9m6 - 3m3y + (1/4)y2
******************************************
Above is the formula method which is used in the
special case. In general for multiplying polynomials
such as (a+b)(c+d) = ac + ad + bc + bd
In other words... multiply the first term in the 1st
parenthesis through each term in the 2nd parenthesis,
and then multiply the 2nd term in the 1st parenthesis
through each term in the 2nd parenthesis.
(3m3- 1/2 y)(3m3 - 1/2 y)
= (3m3)(3m3) + (3m3)(-1/2 y) + (-1/2 y)(3m3) + (-1/2 y)(-1/2 y)
= 9m6 - (3/2)m3y - (3/2)m3y + (1/4)y2
= 9m6 - (6/2)m3y + (1/4)y2
= 9m6 - 3m3y + (1/4)y2
This method works for any set of polynomials, including
the ones that fit the special patterns.