Travis measures the perimeter of a sandbox.One of the sides is 8 feet long, and the perimeter is 24 feet.If all of the sides are the same length, what is the shape of the sandbox?

A.rhombus
B.pentagon
C.rectangle
D.equilateral triangle

Let x be the length of the other three sides.

The perimeter of a shape is the sum of the lengths of all its sides, so:

Perimeter = 8 + x + x + x

Simplifying this equation, we get:

Perimeter = 8 + 3x

We know that the perimeter is 24 feet, so:

24 = 8 + 3x

Subtracting 8 from both sides, we get:

16 = 3x

Dividing both sides by 3, we get:

x = 5.33 feet

Since all sides are the same length, the sandbox is a C. rectangle.