Monopoli and Matera are both in Southern Italy, but Monopoli is in the region of Puglia, while Matera is in the Basilicata region.  They’re just 1.5 hours away from each other by car, by taking the superstrada (Monopoli-Bari-Matera) or strade provinciali (smaller country roads, but a more direct route).