Hello I have a question about z transform. Please help me. I have this in wolfram:

in my book says that I can use the formula:

but, if I transform

if I apply the formula it would be (1 + 2 z))/(3 (1 + z + z^2)
but wolfram gives me instead:

Thank you, please help me.