Let B’s speed be \( x \), then A’s speed is:
\[
\frac{5}{3} x
\]
Let the total race distance be \( d \), and B runs \( d - 80 \) meters.
Since both finish at the same time:
\[
\frac{d}{\frac{5}{3}x} = \frac{d - 80}{x}
\]
Cross multiplying:
\[
3d = 5(d - 80)
\]
\[
3d = 5d - 400
\]
\[
2d = 400
\]
\[
d = 200
\]
Thus, the winning post must be 200 meters.