The Concerto No 2 was composed primarily between 1787 and 1789, although it did not attain the form in which it was published until 1795. Beethoven did write a second finale for it in 1798 for performance in Prague, but that is not the finale that was published.
The Piano Sonata in D Major for two pianos was composed in 1781 for a performance Wolfgang Amadeus Mozart would give with fellow pianist Josephine von Aurnhammer.
Ludwig van Beethoven’s Concerto for Violin, Cello, and Piano in C major, Op. 56, more commonly known as the Triple Concerto, was composed in 1803 and later published in 1804 under Breitkopf & Härtel.