I am trying to prep this frame to get powdercoated but don't know how to remove the headset or the bearings on this 05 Cannondale Prophet swingarm. Any help would be appreciated.

How do I remove these?-image.jpegHow do I remove these?-photo.jpg