ABC is similar to XYZ. The lengths of two sides of each triangle are given in the figure. Find the length of side x.