  We found solutions of the Bogoliubov-de Gennes equations for the
two-dimensional self-consistent model of superconductors with $d_{x^2-y^2}$
symmetry of the order parameter, taking into account spin and charge
distributions. Analytical solutions for spin-charge density wave phases in the
absence of the superconductivity ("stripe" and "checkerboard" structures) are
presented. Analytical solutions for coexisting superconductivity and stripes
are found.
