You may need to clarify what your motherboard model is (especially with Gigabyte and their revisions). The closest I could find is the GA-78LMT-USB3 rev. 4.1. The FX-8370 is compatible with this motherboard.
As I understand it, the FX CPUs haven't fared as badly as thought and are adequate. But I'm not sure about actual benchmarks as the sites I'm familiar with don't often use FX CPUs in their benchmarks.
I couldn't find any reference to an r7 240x. An r7 240 would be compatible (as would practically any modern graphics card). I wouldn't use it for gaming though as it's not designed for it.
However, I would imagine your desire to play the latest games will be hampered on both accounts as they tend to be CPU intensive and require...