Answer:
Option C is correct.
Step-by-step explanation:
Let the length be L
Let the width be W
The length of a rectangular floor is twice its width.
So, we get 
The length of the carpet is L
Carpet width is 2 feet less than the room, so 
Area of the carpet = 160 sq feet
We get :

As L=2W, we get

=> 
Equating to zero, we have

Taking out 2 common

=> 
=> 
We get roots as : (W-10) and (W+8)
Hence, W = 10 and W = -8(neglect this negative value)
Now, the width = 10 feet
Length =
feet
Hence, option C is the answer.