Shelly had some money in her pocket. She went to visit her grandmother, who gave her $7.50. Then, Shelly bought a pair of earrings for $12.31 and had $9.94 left. Choose the best answer for Part A and Part B.