You can put this solution on YOUR website! I'll assume you meant:
where ^ represents exponentiation.
So, if we started with:
We start by distributing the 'y' to each term inside the parentheses:
3y + xy + x^2 (this is your answer)
You could reorder the terms so we have the highest degree term first:
x^2 + xy + 3y