h^9-h^8+h-1 Factor by grouping

Can someone help with this?

h^9-h^8+h-1

note that you have

h^9-h^8 + h-1
h^8(h-1) + 1(h-1)
(h^8+1)(h-1)