The total length of the pieces being removed is 21 3/4 yards.
That is,
(3 3 1/2) + (5 2 1/4)
10 1/2 + 11 1/4
10 2/4 + 11 1/4 (making the denominator common)
21 3/4 yards.
So the length of the remaining cloth
24 - 21 3/4 = 2 1/4 yards.
The length of the remaining cloth is 2 1/4 yards which is now a fraction form.
I hope that helps you.