On a baseball diamond, the distance between bob to jerry and jerry to allen are 30 feet and 40 feet respectively. if we assume that the angle at jerry is a right angle, what is the distance from bob to allen?