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

X: Did you learn a instrument as a child?
Y: I took piano lessons for two years.