The calculated distance (air line) between Shamakhi and Amirdzhan is approximately 72 miles respectively 116 kilometers.
By car or train, the actual journey to Amirdzhan is certainly longer, as only the direct route (as the crow flies) between Shamakhi and Amirdzhan has been calculated here.