Solder the wires you disconnected from the old speaker to the new speaker. The red wire is to be soldered to the far left terminal, while the white wire is to be soldered to the far right terminal.
Here is iFixit's soldering guide. Solder with caution and try not to burn yourself.
To reassemble your device, follow steps 1 through 4 in reverse order. This document was last generated on 2017-07-14 06:51:17 PM.