Answer:
length of each ribbon was 50 inches.
Explanation:
We have been given that she cuts 9 pieces of the same length, L, from the first ribbon and finds that 5 inches are left over.
It means she had a total of 9L length of ribbon and if we add 5 to this, it should be equal to the original length of the ribbon when she bought.
If x be the length of the each ribbon when she bought them. It means if we add 5 to 9L then it should be equal to x.

On the same way, we have the second equation as

Plugging the value of L from equation 1, we get

Hence, length of each ribbon was 50 inches.