If a rectangular picture frame is 3 times as long as it is wide, and the perimeter of the frame is 64 inches, what is its length?