Solve the system of equations by using the method of cross multiplication:
\frac{a}{x}-\frac{b}{y}=0,
\frac{a b^{2}}{x}+\frac{a^{2} b}{y}=\left(\mathrm{a}^{2}+\mathrm{b}^{2}\right), where \mathrm{x} \neq 0 and \mathrm{y} \neq 0