A man sold a square field of side 35 m and a
rectangular field of length 51 m and breadth
25 m. He then purchased a square field of equal area. Find the side of the square field and the cost of fencing it at $1.50 per m. ​