かたであれば
katadeareba

Noun
Da Copula

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

1. If it is square; If square

Ba Conditional