かたであれば
tokikatadeareba

Noun
Da Copula

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

1. If there’s a way to solve it; If one were to solve it; A method of solving it, if any

Ba Conditional