The total distance between the two women would simply be the sum of the hypotenuse formed by the triangular path they created.
For each women:
c^2 = a^2 + b^2
c^2 = 3^2 + 4^2
c^2 = 9 + 16
c^2 = 25
c = 5 m
Therefore the distance between the two is:
distance between the two women = 2 * c
distance between the two women = 10 m