He says we can also use the formula to find the longest diagonal of a cube. How do I use it in the question in the comments?
The shortcut he gives here is to multiply s by root 3.
Make the length, width and height the same.