Answer :
let width of the floor be x feet, them area is
x(x+2) = 168
x^2 + 2x - 168 = 0
(x - 12)(x + 14) - 0
so x = 12
the floor is 12 ft by 10 ft
the width of the rug should be 10 - 2(2) = 6 feet
x(x+2) = 168
x^2 + 2x - 168 = 0
(x - 12)(x + 14) - 0
so x = 12
the floor is 12 ft by 10 ft
the width of the rug should be 10 - 2(2) = 6 feet