Right - a late-2103 with dual core 2.9 GHz processor and GT750M GPU. This is nearly the same as my late 2013 15-MBP, which has a 2.6 GHz i7. Certainly the newer iMac will be a better fit for FCPX.For example this iMac might be a good fit
I use FCPX to create short vids (3-5 min) and have expanded into short documentaries (10-20 minutes). For the latter, these projects are typically 60-100GB. Note that with background rendering, they fluff right up to 300+ GBs. You're going to need some disk space! All of my work so far has been in HD, and it works OK-there's even a 4K monitor connected.
It's pretty easy for me to see that this will be strained for 4K. That's why I've ordered an RX 580 8GB for the 2009 4/5,1 MP sitting right next to it. It's a 3.33 6-core, with 32GB RAM. A 256 GB SSD, plus a few TBs of HDD. Also, an Inatek KT 4004 for USB3. By many accounts, this set up should work for 4K.