The answer is the SAS postulate. The two triangles have two pairs of corresponding, congruent sides, and the included angles are congruent. And thus, triangles XYZ and ABC are congruent by the SAS postulate.
The ratio is 4:7 because since the ratio is red apples to green apples theirs 4 red apples and theirs 7 green