Using Pythagoras, it's the square root of 30*2 + 40*2. It effectively a 3, 4, 5 right angle triangle.