Systems of equations with substitution: coins