The triangles below are similar triangles. Find the value of x and y.