Let the first length and the second length.

The two lengths add up to 240 inches, so .

One piece is 4 times the length of the other, so .