Puzzle of the Week #185 - How Long is a Piece of String?

I have a loop of string N centimetres long. I can form this loop into a square with n cm along each side (n being exactly a quarter of N). Not surprisingly I find that if I draw diagonals from opposite corners of this square, they cross at right angles. I also find that I can tilt the square into a rhombus shape, while still having n cm along each side, the diagonals still cross at right angles. Still not surprising.

However, I discover that if I move some of the corners so that instead of all being n cm long, the four edges of the quadrilateral are n, n-5, n+1 and n+4, then the diagonals STILL cross at right angles.

How long in my loop of string?

piece of string.JPG