Solve each of the following systems of equations by using the method of cross multiplication:
ax−by=0,ab2x+a2by=(a2+b2),where x≠0 and y≠0.