I've been tasked with finding an element $d\in \mathbb Q[x]$ such that $$(d)=(x^4-x^2+4x, x^3-x+3).$$ To do this, I'm confused at what exactly I'm meant to do to find this element. First I did the algorithm on the two polynomials: $$x^4-x^2+4x = (x^3-x+3)(x)+(x)\\ x^3-x+3=(x)(x^2-1)+3\\ x=(3)\left(\frac 1 3 x\right)+(0)$$
Does this mean that my (d) is just 1? Or have I misunderstood something, because in this case, the last nonzero remainder must be 1. And if I use backwards substitution, I get that $$\left(-\frac 1 3 x^2+\frac 1 3\right)\left(x^4-x^2+4x)+\right(\frac 1 3-\frac 1 3 x + \frac 1 3)\left(x^3-x+3\right)=1 $$ which seems to check out.
Have I misunderstood what is meant with finding $d$? This feels weirdly easy.