Sorry will have to agree there, 6" fish of just about any kind are to big for a tank of that size it just wouldnt be fair. If you particularly like Cichlids try some of the dwarf verietys like Rams or Kribensis.
Yes as said above a 6" Firemouth should not be housed in a 20 gallon tank but it takes them at least 2 years to get to this size and you can upgrade later. But the Tinfoil barb really has no place in anything less then a 100 gallon + and 6 foot long tank. These barbs grow very big ( 12" + is not uncommon). Give the barb back and start over with some small Tetras and if you want cichlids go with some dwarfs. Here are a few suggestions for you to research before you buy anything.
firemouths grow very slowly in my experience (i have had one for over six months and he has shown very little growth) so if you are willing to upgrade I would say it is possible...and you will absolutely have to upgrade if you want to keep that barb (they get gigantic)