The length of a rectangle is 4n, and twice as long as the width. the perimeter pf the rectangle is twice as long as that of an equalatrial triangle. find the side length of the triangle in terms of n