How do you find the length of a rectangle whose diagonal has a length of 10 cm and whose width is 5 cm?