Unplug your washing machine power cable.
Pull the tabs at the ends of the control panel outward. This will expose the console screws on the control panel.
Lift the control panel and unclip the internal clips.
Lift the washer cabinet frame off of the unit to expose the tub.
Unplug the bleach hose located at the side of the top of the tub.
Lift the plastic ring off of the top of the tub. You can now see the metal brackets on the inside wall of the tub. There are springs connected to them.
Remove the damaged brackets with a wrench and unhook them from the springs.
Fit new brackets in the ports and tighten them with your wrench. Connect the springs.
Replace the rim and hose, then replace the frame of the washer and control panel.