95% percent that friend is not going to pay you back
The degree of a polynomial is the highest power of its terms.
The power of a term is the sum of the powers of all the variables in a term.
A polynomial is written starting with the greatest power in standard form.
In the first case, the power of the first term is 3, the power of the second is 3 (2 from x + 1 from y) but the power of x has decreased so it is the second term, and then so on.
In the second case, the power is starting form 2 and then increasing to 3. This is incorrect.
Therefore, Marcus' suggestion is correct.
Number of shares
1050/10=105
After one year share value
10×(1+0.13)=11.3
After the second year share value
11.3×(1−0.05)=10.735
Total
10.735×105=1,127.175