The key to this problem is to note that xm - ym = ( x - y) ( xm-1 y0 + xm-2 y1 + xm-3 y2 + ... + x0 ym-1)
The second term in this product is homogeneous of order m -1 in x and y.
By combining n-1 expressions like the one above, one can show that
( x -y) times [ ( x + y) + (x2 + xy + y2 ) + (x3 + x2 y + x y2 + y3) + ... ] is equal to
[ (x2 - y2) + (x3 - y3) + (x4 - y4) + ... ]
So the expression in the question is equal to
[ x2 + x3 + x4 + ... + xn - y2 - y3 -y4 - ... - yn] /(x-y)
If n is at least 2 the geometric series sums can be organized as
x2 (1 - xn-1) /[x - y) (1 -x) ] - y2(1 - yn-1) /[(x - y) (1 -y) ]