Get your taxes done using TurboTax

The non taxable  distributions (capital returned) reduced your basis each and every year which is why the $25K basis got reduced to $19K.  Ask the broker if you have more questions on this matter.