A cable is tied to the of a flagpole and it is connected to the ground 6 yards away from the base of the . If the flagpole is 8 yards high, how long is the cable?