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