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

X: Do you know how to play piano?
Y: I took lessons as a child.