The correct answer is C. neither congruent nor similar.
Given that △ABC is transformed to △A'B'C' such that AB = A'B'.
We know that:
For triangles to be similar, all three angles must be same(AAA property) or all three sides must be in same proportion(SSS property) or two sides must be in same proportion and the included angle should be equal(SAS property).
For triangles to be congruent, all the three sides and all the three angles ,ust be exactly same.
Since △ABC and △A'B'C' have only one side equal, they are neither congruent nor similar.