Independent verification and solution:
In grid units, take A = (0, 0), B = (2, 1) and C = (1, −2), with right and down positive. Choose D = (−1, 2), the reflection of C through A.
AB and AC are perpendicular: their displacements (2, 1) and (1, −2) have dot product 2 − 2 = 0. AD lies along AC in the opposite direction, so AB is also perpendicular to AD and angle BAD is 90°.
AC and AD both have length √5 grid units. BC and BD both have length √10 grid units, and AB is common. Therefore the perimeters are equal. C and D lie on opposite sides of AB, so the interiors of the triangles do not overlap.