The sum of the areas of two squares is 640 \mathrm{~m}^{2}. If the difference in their perimeter be 64 \mathrm{~m}, find the sides of the two square.