The piece of music Kelly plays on the piano for her father and Barbara is "Étude no. 3 in E major, Op. 10, no. 3 - Tristesse" by Frédéric Chopin.
The sonnet being studied, which begins "When forty winters shall besiege thy brow / And dig deep trenches in thy beauty's field", is Sonnet 2 by William Shakespeare.