A vertical tower of height H stands on the ground. From point A on the ground, the angle of elevation to the top is 45°. From point B, located 15 meters away from A (directly along the line extending from the base), the angle of elevation is 30°. What is the height of the tower?