A parallelogram and a square have the same area. If the sides of the square measure 40 m and altitutde of the parallelogram measures 25 m, find the length of the corresponding base of the parallelogram.