Code:
         A

           
               D             
                 
        
           
                      

B        C                   E
Looking at quadrilateral ABCD: angles ACB and ADC are both 90 degrees.

BC and AD are extended and meet at E.

Quadrilateral ABCD and the created triangle CDE all have integer sides.

The perimeter of ABCD is equal to the perimeter of triangle CDE.

What are the minimum dimensions of ABCD?