You have done the right thing by expanding the demoninator in g(x).
Long division is pretty tricky in Latex so I suggest read this.
Polynomial Long Division
I can't remember how to do polynomial long division (I know, its easy, I shouldn't have forgetten) and I'm having trouble understanding the online explainiations. Can somebody take me through the steps of how to divide: into ? So if we let:
Can somebody show me how to use polynomial long division on:
Thanks in advance