These pairs show similar triangles because, as indicated by the markings, they have the same angles (the same shape). Because the corresponding sides, as well as the corresponding angles in B are congruent, as indicated by the markings, the triangles in B are congruent.

.