ヘッドライトであれば
heddoraitodeareba

Noun
Da Copula

The "-eba" conditional form ("if/when…") of ヘッドライト

1. If headlights; When headlights

Ba Conditional