A man standing on the bank of a canal observes that the measure of the angle of elevation of a tree on the other side of the canal, is 60. On retreating 40 meters from the bank, he finds the measure of the angle of elevation of the tree as 30. Find the height of the tree and the width of the canal?