The angle of elevation of the top of a building from a point A on the ground is 30°. On moving a distance of 30 m towards its base to the point B, the angle of elevation changes to 45°. Find the height of the building and the distance of its base from point A. (Use √√√3 = 1.732)