Demetrius has a solid gold chain that weighs 22 grams. He also has a gold ingot that weighs 10 grams. If the current price of gold is $38 per gram, how much money will he get if he sells both the chain and the ingot?