Solve the following problem by showing ALL of your work.
Sal bought shares in two different companies. He bought 25 shares of ABC Company at the price of $12 per share. He bought 75 shares of XYZ Company at the price of $14 per share. How much did he pay for all the shares?