The side opposite angle D has length 9, the side adjacent to angle D has length 40, and the hypotenuse has length 41.