first off, we know the angles at vertices C and F are right-angles, meaning both triangles are right-triangles.
we also know that sides AC = DF and BC = EF.
now, for right-triangles, if the two shorter legs are congruent in both triangles, the triangles are congruent by the Leg Leg theorem, namely LL.