State the two properties which are necessary for given two triangles to be similar.