We have been given that Maria put trim around a banner that is the shape of a triangle. Each side is 21 inches long. 
The amount of trim will be equal to perimeter of triangle. The perimeter of given triangle will be 3 times each side length that is  inches.
 inches.
Now we need to convert 63 inches into feet.  
12 inches = 1 feet
63 inches =  feet = 5.25 feet.
  feet = 5.25 feet.
We are also told that Maria has  foot of trim left, so total length of trim would be trim used plus trim left that is
 foot of trim left, so total length of trim would be trim used plus trim left that is  feet.
 feet.
Since we need to find length of trim in yards, so we will convert 6 feet into yards.
3 feet = 1 yard 
6 feet =  yards = 2 yards
 yards = 2 yards
Therefore, the length of the trim was 2 yards.