The perimeters of a rectangle and an equilateral triangle are equal. The length of the rectangle is twice the width, and the side of the triangle is 8 more than the width of the rectangle. Which statements about this scenario are true if we use the variable w to represent the width of the rectangle?