remove the drive hub from the agitator

how do i remove the drive hub from the plastic agitator part. It seems to be attached. heard squeaking other day and found that it wasn’t fully agitating. took agitator off and found these cracks in what appears to be the drive hub although i’m not exactly sure I also noticed some wear on the transmission shaft and wondering if i have to replace anything there as well or if maybe that’s the cause of the problem. thanks for any and all help.