You are given two samples of rock: granite, a light-colored rock that makes up a large amount of the continental crust, and basalt, a dark-colored rock that makes up most of the oceanic crust and the lower part of the continental crust. The granite sample has a volume of 78.3 cm^3 and a mass of 207.5 g. The basalt sample has a volume of 56.2 cm^3 and a mass of 168.6 g. What are the densities of the two rocks?