Charlie had a garden in the shape of a triangle. The sides of the garden were 2 miles, 3 miles and 5 miles. The area of the garden is 45 square miles. How far is it from the middle of the five mile long side to the intersection of the other two sides ?