Let the wt.% of B in the alloy be \( x \). From the given data, the wt.% of A in the alloy is:
\[
\text{wt.% A} = 100 - x
\]
Now, use the lever rule for the binary alloy:
\[
\frac{x - 20}{70 - 20} = \frac{4}{5}
\]
Solving for \( x \), we get:
\[
x = 71.
\]
Thus, the wt.% of B in the alloy is \( 71 \).