I'm having a lot of trouble with this problem. I usually don't do this, but I'm sick; any help appreciated!
In a certain rectangular prism, the total length of all the edges is 40, and the total surface area is 48. Find the length of the diagonal connecting one corner to the opposite corner.