だちともであれば
dachitomodeareba

Noun
Da Copula

The "-eba" conditional form ("if/when…") of だちとも

1. If/when standing together; If they stood together

Ba Conditional