Planks cost $3 each and plywood sheets cost $5 each. Nick purchased 9 planks and 2 sheets of plywood. How much money did Nick spend all together? Explain how you solved the problem.