Samantha measures the perimeter of a common shape.
One of the sides is 6 inches long, and the perimeter is 24 inches.
If all of the sides are the same length, what shape does Samantha measure?