Context: X wants to know about Y's music preferences.

X: Did you learn an instrument as a child?
Y: I played the piano for eight years.