The cosmic-ray source composition is shown to be related to the observed cosmic-ray abundances by a set of linear equations which are valid for either ad hoc path length distributions or quantitative solutions of galactic propagation models. In the limit of no ionization energy loss, this method is exact for all path length distributions and can replace more detailed numerical integrations; it provides a simple way to calculate directly the source composition implied by a particular set of cross sections, observed abundances, and propagation model. This method is used to determine the source abundances of the galactic cosmic rays in a model-independent manner. Compared to a simple exponential, the path length distribution required by observations is deficient in the contributions from short (not greater than 0.5 g/sq cm) paths at energies of a few GeV per nucleon.