Yes, you can definitely run all of that off of a 400W PSU. Please don't get the geforce g210. Get the Radeon HD7770 instead if you're only deciding between those two graphics cards.
I did a quick google search of that particular model and it looks like it is a regularly shaped mid-tower case, which means an ATX (regual) PSU should fit.