Luckily, the two had walked at an angle of 90degrees relative to each other or this problem would have been unsolveable. (133-43=90)

So now, thanks to our friend Pythagoras, the problem is quite simple:

a^2+b^2=c^2

If you need any more help on this let me know.