A rectangular poster is 3 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 widths of the poster and the banner?