A triangle has a perimeter of 48 feet. If the three sides of the triangle are n, 4n−2, and 4n−4, what is the length of each side?