Step 1: Write the height of the ball thrown upward.
For the ball thrown upward from the ground,
\[
u=V,\quad a=-g
\]
The height after time \(t\) is
\[
h_1=Vt-\frac{1}{2}gt^2
\]
Step 2: Write the height of the ball dropped from the building.
The second ball is dropped from height
\[
20\,\text{m}
\]
Its initial velocity is
\[
0
\]
So, its height from the ground after time \(t\) is
\[
h_2=20-\frac{1}{2}gt^2
\]
Step 3: Use the condition that both balls are at the same height.
Given,
\[
t=0.8\,\text{s}
\]
At the same height,
\[
h_1=h_2
\]
So,
\[
Vt-\frac{1}{2}gt^2=20-\frac{1}{2}gt^2
\]
Cancel
\[
-\frac{1}{2}gt^2
\]
from both sides:
\[
Vt=20
\]
\[
V=\frac{20}{t}
\]
Step 4: Substitute \(t=0.8\).
\[
V=\frac{20}{0.8}
\]
\[
V=25
\]
Thus,
\[
V=25\,\text{ms}^{-1}
\]
Step 5: Final conclusion.
Hence, the magnitude of \(V\) is
\[
\boxed{25\,\text{ms}^{-1}}
\]