The area of a rectangle R with width 4 feet is equal to the area of a square S, which has a perimeter of 24 feet. The perimeter of the rectangle R is-
ক) 9 ft
খ) 16 ft
গ) 24 ft
ঘ) 26 ft