Franz Schubert wrote five variation sets using his own lieder as themes .
Many composers wrote pieces which are examples of Theme and Variations .