Advice needed vs 71 Duster rear wheel bearing replacement

I have taken the right rear wheel down to this point and its not clear how to pull the bearings out. I’ve looked at the manual and didn’t see instructions on this step. A local auto shop guy said I could install an old rim and hammer the rim ‘till the bearings pulled out. Seems brutal. Can anyone suggest an “easy to makeA’ slide hammer arrangement that I could bolt to the lugs on the left and pull the bearings out? Is this the correct approach? Note: I determined earlier that I have the 8 3/4 inch differential and (I think) this means that I can’t remove a pin in the differential and pull out the axle. Am I correct that I need to pull the parts shown above to the left and the bearings, seals, etc will come out?