Sunrays pass through a pinhole in the roof of a hut and produce an elliptical spot on the floor. The minor and major axes of the spot are 6 cm and 12 cm respectively. The angle subtended by the diameter of the sun at our eye is `0.5°`. Calculate the height of the roof.