Think about the operation to be used.

x multiplied by itself and product of x and y gives two individual terms of an expression

For finding the perimeter, we need to add all three sides.

Add the like coefficients separately.

perimeter is the sum of all sides

Like terms can be added or subtracted whereas unlike terms cannot.

Add the like coefficients separately.

For polygon with n vertices, number of diagonals