To find the total length of the two pieces of yarn, we need to add the lengths of both pieces together:
First piece: 5.89 m
Second piece: 2.147 m
Now, let's add them together:
\[ 5.89 + 2.147 = 8.037 , \text{m} \]
Therefore, the total length of the two pieces of yarn is 8.037 m.