Two rectangles are similar. The length of the smaller rectangle is 5 units, and its width is 2 units. What is the width of the larger rectangle if the length is 7 units?