OK first I am assuming that you are settinging your X,Y origin at the left tip of the triangle. Don't do that. Make it easy on yourself by defining the origin as the x-axis runs up the incline, and the Y axis runs perpendicular to the axis, you are basically rotating the axes 20 degrees counter clockwise
the forces here are in some cases redundant, and in other cases wrongly defined try this, using the new coordinate system.
Starting with the left side of the box and moving clockwise around it to number sides. (left =side 1, bottom = 2, right = side 3, top = side 4)
Side one - the force exerted down a slope by gravity is always
mg sin a , where a is the angle the slope is making with the axis, in this case 20 degrees, so the force f = mg * sin(20). That is the only force in this direction, and since you have defined the X direction to be along the slope the force is conpletely in the negative X direction.
Side two - your new coordinate system has the advantage of placing the Y axis perpendicular to the slope's surface. so to calculate the
the force on side 2 we need to know the force the block is exerting perpendicular to the slope. The formula for this is mg*cos a, where a is the aforementioned angle. Once again since you have defined the coordinate system on a rotated axis all that force is in one direction. The negative Y direction.
Side three - this one is a little trickier you have to decompose T into X and Y components. Fortunately our new coordinate system helps us again. The force T will exert along the slope, and thus in our X direction is given by the formula, T(x) = T*cos b were b is the angle T makes with the x axis, in this diagram, 30. To force perpendicular to the slope, and thus in the Y direction is given by T(y) = T*sin b where b is the same angle as before.
Edit for friction: The frictional force will attempt to oppose the box sliding, and goes on side 3 the frictional force is equal to the static frictional constant,K,(since we are in equilibrium) multiplied by the force of the box pushing Normal(perpendicular) to the slope, so f = K*mg*cos(a)
Side Four - the force N in the diagram is now entirely in the Y direction, and the only force acting in that direction, so according to Newtons third law. ( the equal and opposite one) it has to be equal to the force acting perpendicular to the slope on side 2 minus the T(y) force, but in the opposite direction so it becomes, -1*(mg*cos a - T*sin b). Once again the choice of coordinate systems helps out because all of N is located in the positive Y direction.
The X and Y force equations work out rather nicely in the system so that.
F(X) = mgsin(20)-Tcos(30)-K*mg*cos(a) = 0
F(y) = mgCos(20)-Tsin(30) - N = 0
That's my two cents hope it helped