へんでした
hendeshita

Noun
Desu Copula

The polite past form of

1. Was on the side; Was nearby

Past/Perfective
Polite
Mathematics