Your cpu is too weak to play games like the ones you said at medium settings, you need to upgrade your cpu, and posibly your psu too.
Can you please post your budget and psu model so i can figure out what you need to upgrade and what fits into your budget.