A baseball diamond is actually a square, each leg of which is 90'.
The distance from home plate to second base can be determined by the Pythagorean theorem, a2 + b2 = c2 where c is the hypotenuse, the distance from home plate to second base.
That distance is the square root of 90'2 + 90'2 = 8100 + 8100 = 16200, the square root of 16200 is 127.3'
Since the baseball diamond is a square, the distance from third base to first base is exactly the same, namely 127.3'