Connect 3 iMac 21" Screens together?
What you will need is splitter so you can connect 2 displays to your Thunderbolt port so you can use the both iMac with Target Display Mode. 

It's the only way to use these iMacs as screens.