OK, first thing you need to note is that there is not one tension in the problem, but 3 (because there are 3 strings).You can write down a free body diagram for:
1. Block A
2. Block B
3. The junction of the 3 strings.
Call the tension in the horizontal string T1, the tension in the vertical string T2, and the tension in the diagonal string T3.
Now for applying Newton's second law.
You got block A right, except I would say T2 instead of Ftension, simply because you don't want to use the same variable for two different tensions.
Block B is also OK, except I would say T1 instead of Ftension, because that is not the same tension as is acting on block B.
Now for the junction. You have forces in both the x and y directions, so you have to decompose the forces by trigonometry. You already indicated that you know how to do this. Try to write down the equations, and post them here. I'll help you through the rough spots.
Alert Mentor now
