Emmy is planning a triangular garden in her backyard. She wants one side of the garden to be 5 yards long and the area of the garden to be 30 yd². What length should the other side of the garden be to use the least amount of soil?