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