Solve problems involving mass