1) Unplug the washer. Remove the 2 Phillips screws that retain the console. (On some machines, these are hidden under console end caps that must be pried off. On newer models, they're on the back of the console). Rotate the console fwd, then up and back; it will hang back out of the way if the washer's away from the wall far enough.
2) Unplug the white lid switch plug and pry up the 2 large clips that hold the cabinet to the washer back panel.
3) Tilt the entire cabinet forward and it'll unhook from the retainers on the base. Lift the cabinet off and set aside (not as heavy as it sounds!)
4) Pry the two clips off the pump and pull it off the motor shaft. Push it aside, leaving the hoses attached.
5) Remove the motor harness plug, and capacitor wires (if used). Remove the 2 shipping screws from the 2 large clips that hold the motor and pry them off, bottom one first, then tilt the motor down and remove.
6) Pry the round, white plastic coupler pieces off both the motor shaft and gear case and discard. You'll probably find the rubber portion of the original coupler badly worn, and one or more of the plastic drive pegs broken off.