The figure shows a square of side $y$ units divided into a square of side $x$ units and four congruent rectangles. What is the perimeter, in units, of one of the four congruent rectangles? Express your answer in terms of $y$.