Two triangles are similar. The base of one is 2 inches and the height is 5 inches. If the base of the other is 7 inches, what is the height?