Two balls lie on next to each other on a shelf.  If one ball has a radius of 8 inches and the point of contact is 10 inches above the shelf, what is the radius of the second ball?