Modeling Coin Problems Using Systems of Linear Equations