simplify ((x^(2n)+2x^n)/(x^(n+1)+2x) times((x^2-3x)/(x^(n+1)-3x^n))