Anya has a piece of fabric that is 14 yards long. She is going to divide it into smaller pieces in a ratio of 3 to 4 in order to make a skirt and a top. What will be the length of the shorter piece of fabric?