The two triangles illustrated below are similar. What are the values of x and y?