How to calculate value of each component in an audio amplifier
The components in group #1 (plus the resistor immediately above) are biasing the amplifier to half the supply voltage, since it is being used with a single power supply.

The components in group #2 set the gain of the amplifier. The capacitor provides a low-frequency rolloff, making the DC gain unity. The corner frequency is

$$\frac{1}{2\pi R C} = 15.4 Hz$$

The components in group #3 are there to interact with the output impedance of the amplifier (and the inductance of the speaker) in a way that improves stability. The datasheet is not particularly forthcoming on this topic, but the comments in Table 7 offer some clues.