トラムであれば
toramudeareba

Noun
Da Copula

The "-eba" conditional form ("if/when…") of トラム

1. If/when it's a tram; Provided it's a tram

Ba Conditional