Actually Welcome to the Concept of the Areas and Volumes.
We know that, Area of a Rectangle = length * Width.
Since,here Length = 6 inch and Area = 54 square inches,
==> Width = Area / length
==> Width = 54/6
=> Width = 9 inches.
Hence the width of the rectangle is 9 inches.