Remove the disc brake caliper assembly and suspend it from the frame.
Remove the rear wheel.
Drain the final drive hub.
Disconnect the shock absorber from the final drive housing.
Remove the 4 nuts holding the hub to the drive shaft housing. Remove the bottom 2 nuts first.
Pull the final drive housing away from the drive shaft swingarm. Don't lose the shock-spring that's between the driveshaft and the female coupling.
Carefully clean the adjoining surfaces of the driveshaft housing and the final drive hub with solvent on a rag. This is important for obtaining a good seal during reassembly.
Unless I screwed up the description, you're done with final drive hub removal.