top cabinet of washer

how do you get the top part of washer off so i can replace the hinge for the door

how do i get the top of cabinet off the washer so that i can replace hinge, door