# area of the rectangle is 8*5 so 40, and the area of the triangle is (5d)/2 same area so 40=5d/2 80=5d d=16