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