In order to compute percentages, just divide the total by 100, and multiply by the percentage you're looking for.
So, 40% of 60 is

Similarly, 75% of this amount is

Notice that you could have done this in one step by computing

So, she used 18 inches of ribbon