For reference, here is figure 5.21, which is originally from NACA report 116 (1921):

Each curve represents a wing with an aspect ratio as labeled. In modern terms, $C_a=100C_\mathrm{L}$ and $C_w=100C_\mathrm{D}$, where $C_\mathrm{L}$ is lift coefficient and $C_\mathrm{D}$ is drag coefficient.
Anderson derives eq. (5.66), which scales the drag coefficient of a given wing (subscript 2) to that of a wing with aspect ratio of 5 (subscript 1):
\begin{equation}
C_{D,1}=C_{D,2}+\frac{C_{L}^2}{\pi e}\Bigg(\frac{1}{5}-\frac{1}{\mathrm{AR}_2}\Bigg)
\end{equation}
The original NACA report states that this formula has "been found to hold for distributions of lift [that] do not deviate too much from elliptical ones, although strictly speaking [it applies] only to the latter." I'm not sure why Anderson doesn't include this important point, but the implication is that we can safely take $e=1$.
Now proceed as follows: Select a curve from figure 5.21 and plug the corresponding aspect ratio into eq. (5.66). Then pick any $(C_w,C_a)$ pair off the curve and plug those into the equation. Plot the resultant $C_{w,1}$ on a figure against the same $C_{a}$. Continue with as many coordinate pairs as you want from the same curve; plot them all with the same symbol. Then select another curve and repeat but using a different symbol. Include a legend. The result should look something like figure 5.22:
