From point A, the angle of elevation to the top of a tower is 50∘. From point B, on the same level ground, due south of A and 100 m from A, the angle of elevation is 40∘. Assuming A and B lie on the line joining to the tower base, determine the height of the tower.