Two pillars stand on a horizontal plane. A and B are two points on the line joining the bases of the pillars. The angles of elevation of the tops of the pillars as seen from Aare 300 and 600 and as seen from B are 600 and 450. If the length of AB is 30 mt, the heights of the pillars and the distance between them are