Unplug the washer from the outlet.
Remove the screws securing the top panel, using the torque screw bit. Lift up on the top panel to remove it.
Pull out on the soap dispenser to remove it from the top panel. Remove the four screws from the control panel and pull it off. Set the control panel on top of the machine so you don't have to unplug it.
Slide a screwdriver between the retaining clip and the gasket to remove the retaining clip. Remove the four screws from the front panel and pull the front panel off the washer.
Pull off the old gasket. Position the drain holes of the new gasket facing the bottom of the machine and slide on the new gasket. Replace the retaining clip and reassemble the machine by reversing the take-apart instructions.