To find the length of the diagonal AB:

You would first use on the bottom of the box rectangle to find the diagonal CB =

Then use CB as of the triangle ACB, with AB being .

AB is approximately =