Sue has already described in details above. There is only one thing need to add its image, so people can understand very well.
Below I am adding some images by which you can easily change the speaker of the laptop.
Open or unscrew the laptop carefully-
Now remove old or faulty Speaker panel like this-
Plug in Connection jack of new speaker panel into motherboard and screw panel as it was before-