Shooting angle of an inverse ray for imaging 2D multi-layered structures from reflected travel-times is derived in a closed form. By considering the normal incidence of two neighboring rays reflected at interfaces when sources are at the same locations as receivers, the traveling distance and direction of two inverse-rays are determined successively from the lowermost layer to the uppermost layer. This approach is similar to and also confirmed with the Huygens' principle that the equal travel-time along a wave front (perpendicular to the rays) is conserved. The closed-form solution of the inverse rays is further applied to image a complex structure of a ramp-flat fault with eleven layers. The results demonstrate that the inverse-ray imaging from travel-time picks of all layers is superior to that picked by a layer-stripping approach.