Mary and Kevin each have a rectangular garden with an area of 36 square metres. Each side is measured in whole metres. Mary's garden is 1 m wider than Kevin's garden, but Kevin's garden is 3 m longer than Mary's garden. How wide is Mary's garden, in metres?