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