The dimensions of a rectangular garden were 5m by 12 m. Each dimension was increased by the same amount. The garden then had an area of 120 m^2. Find the dimensions of the new garden.