A gopher has dug holes in opposite corners of a rectangular yard. One length of the yard is 8 meters and the distance between the gopher's holes is 10 meters. How wide is the yard?