before change after table
Emily took out 1/7 of the books from Shelf A and placed them onto Shelf B.
Before shelf A → 7u after shelf A → 7 - 1 = 6u
*As a result, the ratio of the number of books on Shelf A to the number of books on Shelf B became 3 : 5.
since we know there is 6u left in shelf A, and the ratio of shelf A in the end is 3, that means we need to multiply by 2
therefore, shlef B in the end → 5 x 2 = 10
at first shelf B → 10 - 1 = 9