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