a rectangular poster is three times as long as it is wide.a rectangular banner is 5 times as long as it is wide.both the banner and the poster have perimeters of 24 inches.what are the lengths and widths of the poster and the banner?