ABC and TSR have side lengths as indicated in the figure below. Given that the two triangles are similar, find the missing side length x