The net charge offered by Company A for 1000 square feet of carpet.

The net charge offered by Company B for 1000 square feet of carpet.

The charge of Company A is less. Hence it is better.
Let x be the number of squar feet.
For company A,

For company B,

Equate (1) and (2) implies,

Therefore, the number of square feet is 460.