Error Estimates of Galerkin FEM for a System of Coupled Helmholtz Equations in One Dimension