The correct answer is by composition and texture. Composition is that minerals that the rock are made of. Texture refers to the grain size of the different components of that rock. Texture has to do with sizes of mineral grains and other constituents in a rock and how the sizes and shapes relate to each other.