Because they have the same angles (the same shape), the triangles are similar. However, the notches indicate that the side lengths are also equal.