can u pls ellobarate the requirement. If my understanding is wrong
2 offices say branch a and branch b having the distance of 3 KM... each offices has 3 buildings which is 30 m in range.
Between branches you can have the dart fiber connection as per the requirement.
Between the building (30 M range) either you can have the UTP/Multimode fiber connectivity .