The total length of ribbon needed to line the two long sides of the hat is 22 inches.
Given that, the sides above the right angles are (3x + 5) inches and (5x + 1) inches. The sides below the right angle are (2x + 1) inches and 5 inches.
A kite is a quadrilateral that has 2 pairs of equal adjacent sides. The angles where the adjacent pairs of sides meet are equal.
Now, (3x + 5)=(5x + 1)
⇒x=2
2x+1=5
⇒x=2
Thus, (3x + 5)=11 inches
Now, 11+11=22 inches
Therefore, the required answer is 22 inches.
To learn more about kites visit:
https://brainly.com/question/2918354.
#SPJ5