どう学年 がくねんであれば
dō gakunendeareba

Noun
Da Copula

The "-eba" conditional form ("if/when…") of 同学年

1. If classmates; If of the same grade

Ba Conditional