To solve the above sum first we will need to group the like
terms together. In this example like terms are:
[3x2 and x2] , [4x], [7y and 2y] and [2 and 9], so when we regroup
these, the expression looks like:

Remember, we usually follow alphabetic order in placing pronumerals, so x will be written
before y. Numbers are written in the end. So, simplifying the above expression will give
us:

Since 4x is common to the first two terms we can rewrite the expression taking 4x as a
common factor:
4x(x + 1) + (9y + 11)