The rectangle was 21 inches long and 6 wide. What was the ratio of its length

Your question is not finished.

Did you mean, "What was the ratio of its length to its width?

length : width
= 21 : 6
= 7 : 2

To find the ratio of the length of the rectangle, we need to divide the length by the width.

The formula to calculate a ratio is:

ratio = length / width

Given that the length of the rectangle is 21 inches and the width is 6 inches, we can substitute these values into the formula:

ratio = 21 / 6

Now, we can simplify the ratio by dividing the numerator and the denominator by their greatest common divisor:

ratio = (21 ÷ 3) / (6 ÷ 3)
= 7 / 2

So, the ratio of the length of the rectangle is 7:2.