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