Distribution of eigenvalues of a two-parameter system of differential equations