Question 1131936
5x + 4 + x = 40
6x = 36
x = 6 this is the length of the short piece
The longer piece, the problem tells us, is:
5(6)+4 = 34 feet long